1.1.0 • Published 1 year ago

shimmer-effect v1.1.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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.1.0

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.8

1 year ago

0.0.1

1 year ago