You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular component that uses SVG to create a collection of loaders which simulates the structure of the
content that will be loaded, similar to Facebook cards loaders.
Sponsorships aid in the continued development and maintenance of ngneat libraries. Consider asking your company to sponsor ngneat as its core to their business and application development.
Gold Sponsors
Elevate your support by becoming a Gold Sponsor and have your logo prominently featured on our README in the top 5 repositories.
Silver Sponsors
Boost your backing by becoming a Gold Sponsor and enjoy the spotlight with your logo prominently showcased in the top 3 repositories on our README.
Bronze Sponsors
Become a bronze sponsor and get your logo on our README on GitHub.
Warning: Safari renders the SVG in black in case your Angular application uses the <base href="/" /> tag in the <head/> of your index.html.
Refer to the input property baseUrl below to fix this issue.
Required if you're using <base url="/" /> document <head/>. This prop is common used as: <ContentLoader baseUrl={window.location.pathname} /> which will fill the SVG attribute with the relative path. Related #93.
speed?: number Defaults to 1.2
-
Animation speed in seconds.
interval?: number Defaults to 0.25
-
Interval of time between runs of the animation, as a fraction of the animation speed.
viewBox?: string Defaults to undefined
-
Use viewBox props to set a custom viewBox value, for more information about how to use it, read the article How to Scale SVG.
gradientRatio?: number Defaults to 1.2
-
Width of the animated gradient as a fraction of the view box width.
rtl?: boolean Defaults to false
-
Content right-to-left.
backgroundColor?: string Defaults to #f5f6f7
-
Used as background of animation.
foregroundColor?: string Defaults to #eee
-
Used as the foreground of animation.
backgroundOpacity?: number Defaults to 1
-
Background opacity (0 = transparent, 1 = opaque) used to solve an issue in Safari
foregroundOpacity?: number Defaults to 1
-
Animation opacity (0 = transparent, 1 = opaque) used to solve an issue in Safari