@ppci/custom-loader
v1.1.3
Published
A custom loader
Downloads
25
Keywords
Readme
Loader
A loader/spinner indicator
Table of contents
Installation
NPM
npm i @ppci/custom-loader
Usage
Javascript
import '@ppci/custom-loader'
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/custom-loader/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/custom-loader/builds/legacy.min.js" />
<custom-loader
></custom-loader>
Theme | Styling
Set the color of the spinner.
custom-loader {
--stroke-color: #32b4e9;
}
Set the size of the spinner manually. However, we also provide a couple of predefined size classes see properties for more info.
custom-loader {
--size: 10.5rem;
}