Package Exports
- @ppci/custom-shimmer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ppci/custom-shimmer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Shimmer
A pure CSS implementation of a shimmer effect
Table of contents
Installation
NPM
npm i @ppci/custom-shimmerUsage
Javascript
import '@ppci/custom-shimmer'Browser
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/custom-shimmer/builds/index.min.js" />
<custom-shimmer
hideAnimation
></custom-shimmer>Theme | Styling
custom-shimmer {
--height: 24px;
--width: 200px;
--animation-duration: 2s;
/* use 50% to make a circular shimmer */
--border-radius: 0;
}Properties
| Property | Type | Description | Possible Values |
| hideAnimation | Boolean | Don't show subtle highlight animation | true/false |
Changelog
1.0.1 | 1.0.2 | 1.0.3
- Bundle and minify related fixes
1.0.0 ( Major )
- Initial version of the shimmer