shimmer-effect v1.1.0
Install
npm i shimmer-effect
How to use
<shimmer-effect shimmerConfig="shimmer">
interface ShimmerConfig = { shape: string; height?: number; width?: number; marginTop?: number; // applies in case of line numberOfLines?: number; }
for box
<shimmer-effect shimmerConfig="shimmer"> in ts file shimmer = {shape: 'box', height: 100, width: 100} 100 refers to 100px; by default width and height are 100 if you do not provide in input
for line
in ts file shimmer = {shape: 'lines', height: 10, width: 100, numberOfLines: 3, marginTop: 10} by default width and height are 100 and 10 for line if you do not provide in input and margin between them is default 10
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago