
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
ember-picker
Advanced tools
Ember addon for vanilla-picker color picker library.

ember install ember-picker
You can change all global configuration settings via config/environment.js file.
Please check vanilla-picker site for more configuration details.
ENV['ember-picker'] = {
parent: undefined,
popup: 'right',
template: undefined,
layout: 'default',
alpha: true,
editor: true,
editorFormat: 'hex',
cancelButton: false,
color: undefined,
onChange: undefined,
onDone: undefined,
onOpen: undefined,
onClose: undefined,
};
Example as a component
<Picker @color={{this.color}} @onDone={{this.onDone}} />
<Picker
@color={{this.color}}
@onDone={{this.onDone}}
style='{{if
this.color
(concat "width: 32px;height: 32px;background:" this.color ";")
"width: 32px;height: 32px;"
}}'
>
Block
</Picker>
Example as a modifer
<div
class='ember-picker'
style='{{if
this.color
(concat "width: 32px;height: 32px;background:" this.color ";")
"width: 32px;height: 32px;"
}}'
{{picker color=this.color onDone=this.onDone}}
>
Modifier
</div>
If you would like access to the picker instance in order to call some methods directly, for example to hide or show programmatically, pass an action to registerAPI
<Input
{{picker registerAPI=this.saveApi color=this.color onDone=this.onDone}}
/>
// save the picker instance to use later
@action
saveApi(picker) {
this.picker = picker;
}
// programmatically open the picker
@action
openPicker() {
this.picker.show();
}
See the Contributing guide for details.
This project is licensed under the MIT License.
FAQs
Ember addon for vanilla-picker color picker library.
The npm package ember-picker receives a total of 63 weekly downloads. As such, ember-picker popularity was classified as not popular.
We found that ember-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.