Gathering detailed insights and metrics for ember-picker
Gathering detailed insights and metrics for ember-picker
Gathering detailed insights and metrics for ember-picker
Gathering detailed insights and metrics for ember-picker
npm install ember-picker
30.9
Supply Chain
48.5
Quality
66.7
Maintenance
100
Vulnerability
94.8
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
4 Stars
160 Commits
2 Forks
1 Watching
6 Branches
3 Contributors
Updated on 11 Mar 2022
JavaScript (81.61%)
HTML (11.17%)
Handlebars (6.51%)
CSS (0.71%)
Cumulative downloads
Total Downloads
Last day
-33.3%
2
Compared to previous day
Last week
171.4%
19
Compared to previous week
Last month
-67.3%
64
Compared to previous month
Last year
-37.9%
2,134
Compared to previous year
1
17
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.
1ENV['ember-picker'] = { 2 parent: undefined, 3 popup: 'right', 4 template: undefined, 5 layout: 'default', 6 alpha: true, 7 editor: true, 8 editorFormat: 'hex', 9 cancelButton: false, 10 color: undefined, 11 onChange: undefined, 12 onDone: undefined, 13 onOpen: undefined, 14 onClose: undefined, 15};
Example as a component
1<Picker @color={{this.color}} @onDone={{this.onDone}} />
1<Picker 2 @color={{this.color}} 3 @onDone={{this.onDone}} 4 style='{{if 5 this.color 6 (concat "width: 32px;height: 32px;background:" this.color ";") 7 "width: 32px;height: 32px;" 8 }}' 9> 10 Block 11</Picker>
Example as a modifer
1<div 2 class='ember-picker' 3 style='{{if 4 this.color 5 (concat "width: 32px;height: 32px;background:" this.color ";") 6 "width: 32px;height: 32px;" 7 }}' 8 {{picker color=this.color onDone=this.onDone}} 9> 10 Modifier 11</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
1<Input 2 {{picker registerAPI=this.saveApi color=this.color onDone=this.onDone}} 3/>
1// save the picker instance to use later 2@action 3saveApi(picker) { 4 this.picker = picker; 5} 6 7// programmatically open the picker 8@action 9openPicker() { 10 this.picker.show(); 11}
See the Contributing guide for details.
This project is licensed under the MIT License.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 1/25 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
28 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn Moreflatpickr
A lightweight, powerful javascript datetime picker
@duetds/date-picker
Duet Date Picker is an open source version of Duet Design System’s accessible date picker.
conventional-changelog-ember
Ember preset for conventional-changelog.
ember-spectrum-color-picker
Simple Ember component wrapper for the Spectrum.js color picker.