Gathering detailed insights and metrics for @polymer/paper-radio-button
Gathering detailed insights and metrics for @polymer/paper-radio-button
Gathering detailed insights and metrics for @polymer/paper-radio-button
Gathering detailed insights and metrics for @polymer/paper-radio-button
npm install @polymer/paper-radio-button
83.2
Supply Chain
96.2
Quality
81.8
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
19 Stars
325 Commits
24 Forks
17 Watching
18 Branches
40 Contributors
Updated on 02 Aug 2020
HTML (52.51%)
JavaScript (47.49%)
Cumulative downloads
Total Downloads
Last day
60.2%
1,442
Compared to previous day
Last week
7.1%
6,276
Compared to previous week
Last month
43.1%
25,532
Compared to previous month
Last year
-4.5%
217,627
Compared to previous year
paper-radio-button
is a button that can be either checked or unchecked. The
user can tap the radio button to check or uncheck it.
Use a <paper-radio-group>
to group a set of radio buttons. When radio buttons
are inside a radio group, exactly one radio button in the group can be checked
at any time.
See: Documentation, Demo.
npm install --save @polymer/paper-radio-button
1<html> 2 <head> 3 <script type="module"> 4 import '@polymer/paper-radio-button/paper-radio-button.js'; 5 </script> 6 </head> 7 <body> 8 <paper-radio-button>Unchecked</paper-radio-button> 9 <paper-radio-button checked>Checked</paper-radio-button> 10 <paper-radio-button disabled>Disabled</paper-radio-button> 11 </body> 12</html>
1import {PolymerElement} from '@polymer/polymer/polymer-element.js'; 2import {html} from '@polymer/polymer/lib/utils/html-tag.js'; 3 4import '@polymer/paper-radio-button/paper-radio-button.js'; 5 6class ExampleElement extends PolymerElement { 7 static get template() { 8 return html` 9 <paper-radio-button>Unchecked</paper-radio-button> 10 <paper-radio-button checked>Checked</paper-radio-button> 11 <paper-radio-button disabled>Disabled</paper-radio-button> 12 `; 13 } 14} 15 16customElements.define('example-element', ExampleElement);
If you want to send a PR to this element, here are the instructions for running the tests and demo locally:
1git clone https://github.com/PolymerElements/paper-radio-button 2cd paper-radio-button 3npm install 4npm install -g polymer-cli
1polymer serve --npm 2open http://127.0.0.1:<port>/demo/
1polymer test --npm
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 4/26 approved changesets -- score normalized to 1
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
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
30 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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 More