Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-bootstrap-colorpicker

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-bootstrap-colorpicker

Bootstrap colorpicker for Ember

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ember-cli-bootstrap-colorpicker

Bootstrap colorpicker for Ember. This component is based on mjolnic-bootstrap-colorpicker.

Installation

  • ember install ember-cli-bootstrap-colorpicker

BREAKING CHANGE for version 3

Two-way bindings are replaced by data down, actions up (DDAU). See: http://emberjs.com/blog/2015/06/12/ember-1-13-0-released.html#toc_ember-2-0-beta

Before:

{{bs-colorpicker tagName="input" type="text" color=color format="hex"}}

After:

{{bs-colorpicker tagName="input" type="text" color=color format="hex" onChange=(action (mut color))}}

Usage

With an input:

{{bs-colorpicker tagName="input" type="text" color=color format="hex" onChange=(action (mut color))}}

With an input addon:

{{#bs-colorpicker color=color format="hex" classNames="input-group" onChange=(action (mut color))}}
  <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 version
  • ember 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.

Keywords

FAQs

Package last updated on 05 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc