ember-cli-bootstrap-colorpicker
Bootstrap colorpicker for Ember. This component is based on mjolnic-bootstrap-colorpicker.
Installation
ember install ember-cli-bootstrap-colorpicker
Usage
With an input:
{{bs-colorpicker tagName="input" type="text" color=color format="hex" }}
With an input addon:
{{#bs-colorpicker color=color format="hex" classNames="input-group"}}
<input type="text" class="form-control">
<span class="input-group-addon"><i></i></span>
{{/bs-colorpicker}}
You can use this component with what you want. It simply initializes the colorpicker on the element.
Linting
npm run lint:js
npm run lint:js -- --fix
Running tests
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"npm test
– Runs ember try:each
to test your addon against multiple Ember versions
Running the dummy application
For more information on using ember-cli, visit https://ember-cli.com/.
License
This project is licensed under the MIT License.