Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@polymer/paper-fab
Advanced tools
paper-fab
is a floating action button. It contains an image placed in the center and
comes in two sizes: regular size and a smaller size by applying the attribute mini
. When
the user touches the button, a ripple effect emanates from the center of the button.
See: Documentation, Demo.
npm install --save @polymer/paper-fab
<html>
<head>
<script type="module">
import '@polymer/paper-fab/paper-fab.js';
import '@polymer/iron-icons/iron-icons.html';
</script>
</head>
<body>
<paper-fab icon="favorite"></paper-fab>
<paper-fab label="😻"></paper-fab>
</body>
</html>
import {PolymerElement, html} from '@polymer/polymer';
import '@polymer/paper-fab/paper-fab.js';
import '@polymer/iron-icons/iron-icons.html';
class SampleElement extends PolymerElement {
static get template() {
return html`
<paper-fab icon="favorite"></paper-fab>
<paper-fab label="😻"></paper-fab>
`;
}
}
customElements.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:
git clone https://github.com/PolymerElements/paper-fab
cd paper-fab
npm install
npm install -g polymer-cli
polymer serve --npm
open http://127.0.0.1:<port>/demo/
polymer test --npm
FAQs
A material design floating action button
The npm package @polymer/paper-fab receives a total of 2,283 weekly downloads. As such, @polymer/paper-fab popularity was classified as popular.
We found that @polymer/paper-fab demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.