Gathering detailed insights and metrics for @polymer/paper-icon-button
Gathering detailed insights and metrics for @polymer/paper-icon-button
Gathering detailed insights and metrics for @polymer/paper-icon-button
Gathering detailed insights and metrics for @polymer/paper-icon-button
npm install @polymer/paper-icon-button
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
42 Stars
281 Commits
44 Forks
15 Watching
18 Branches
42 Contributors
Updated on 10 Jan 2024
JavaScript (60.22%)
HTML (39.78%)
Cumulative downloads
Total Downloads
Last day
17.9%
2,697
Compared to previous day
Last week
12.2%
15,001
Compared to previous week
Last month
20.1%
61,073
Compared to previous month
Last year
-1.9%
638,012
Compared to previous year
paper-icon-button
is a button with an image placed at the center. When the user touches
the button, a ripple effect emanates from the center of the button.
paper-icon-button
does not include a default icon set. To use icons from the default
set, include @polymer/iron-icons/iron-icons.js
, and use the icon
attribute to specify which icon
from the icon set to use.
See: Documentation, Demo.
npm install --save @polymer/paper-icon-button
1<html> 2 <head> 3 <script type="module"> 4 import '@polymer/paper-icon-button/paper-icon-button.js'; 5 import '@polymer/iron-icons/iron-icons.js'; 6 </script> 7 </head> 8 <body> 9 <paper-icon-button icon="favorite"></paper-icon-button> 10 </body> 11</html>
1import {PolymerElement, html} from '@polymer/polymer'; 2import '@polymer/paper-icon-button/paper-icon-button.js'; 3import '@polymer/iron-icons/iron-icons.js'; 4 5class SampleElement extends PolymerElement { 6 static get template() { 7 return html` 8 <paper-icon-button icon="favorite"></paper-icon-button> 9 `; 10 } 11} 12customElements.define('sample-element', SampleElement);
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-icon-button 2cd paper-icon-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 5/28 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
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
29 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