
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
org.webjars.bowergithub.brightspaceui:loading-spinner
Advanced tools
Looking for SASS-based d2l-loading-spinner
? It's over here.
Polymer-based web component loading spinner.
For further information on this and other Brightspace UI components, see the docs at ui.developers.brightspace.com.
d2l-loading-spinner
can be installed from Bower:
bower install d2l-loading-spinner
Include the webcomponents.js "lite" polyfill (for browsers who don't natively support web components), then import d2l-loading-spinner.html
:
<head>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../d2l-loading-spinner/d2l-loading-spinner.html">
</head>
<d2l-loading-spinner></d2l-loading-spinner>
The size (default 50px
) can be adjusted using the size
attribute:
<d2l-loading-spinner size="100"></d2l-loading-spinner>
Or by setting the --d2l-loading-spinner-size
CSS property:
<custom-style>
.huge-spinner {
--d2l-loading-spinner-size: 400px;
}
</custom-style>
<d2l-loading-spinner class="huge-spinner"></d2l-loading-spinner>
While not recommended, the default color (blue) can be set using the color
attribute:
<d2l-loading-spinner color="red"></d2l-loading-spinner>
Or by setting the --d2l-loading-spinner-color
CSS property:
<custom-style>
.red-spinner {
--d2l-loading-spinner-color: red;
}
</custom-style>
<d2l-loading-spinner class="red-spinner"></d2l-loading-spinner>
After cloning the repo, run npm install
to install dependencies.
If you don't have it already, install the Polymer CLI globally:
npm install -g polymer-cli
To start a local web server that hosts the demo page and tests:
polymer serve
To lint (eslint and Polymer lint):
npm run lint
FAQs
WebJar for d2l-loading-spinner
We found that org.webjars.bowergithub.brightspaceui:loading-spinner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.