1.0.0 • Published 9 years ago
engine-piklor v1.0.0
Engine Piklor
Piklor.js version for Engine.
Configuration
{
"selector": ".some-class"
, "colors": ["red", "yellow", "blue"]
, "options": {
// object passed to the piklor.js constructor
}
}
Events
- :arrow_up:
colorChosen
After the user selects the color, this event is emited containing thecolor
field in the data object.
Documentation
Please refer to the piklor.js documentation to find more about these methods.
render()
close()
open()
set(ev, data)
Params
- Event
ev
: The event object. - Object
data
: An object containing: -col
(String): The color to set. p
(Boolean): Iffalse
, the color change will not be triggered.
How to contribute
- File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
- Fork the project in your account and create a new branch:
your-great-feature
. - Commit your changes in that branch.
- Open a pull request, and reference the initial issue in the pull request message.
License
See the LICENSE file.
1.0.0
9 years ago