npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ngx-preloader

v0.0.3

Published

Collection of reusable Angular preloaders

Downloads

19

Readme

Angular Preloaders

Documentation

ben10 preloader with default color black and white having width 60px

<ben10></ben10>

ben10 preloader with color black and color2 white having width 100px. Please note: color or color2 should not start with #

<ben10 [color]="'000000'" [color2]="'ffffff'" [width]="100"></ben10>

zooming preloader with default color #764237 having default minWidth and maxWidth 50px and 130px respectively.

<zooming></zooming>

zooming preloader with color #764237 having minWidth and maxWidth 50px and 130px respectively.

<zooming [color]="'764237'" [minWidth]="60" [maxWidth]="140"></zooming>

multicircle preloader with default colors 'fc7670', 'ebd793', '6ed1b7', '38a484', '365050' having minWidth and maxWidth 50px and 130px respectively.

<multicirle></multicirle>

multicircle preloader with colors 'fc7670', 'ebd793', '6ed1b7', '38a484', '365050' having minWidth and maxWidth 60px and 140px respectively. Note colors length should be 5

<multicirle [colors]="['fc7670', 'ebd793', '6ed1b7', '38a484', '365050']" [minWidth]="60" [maxWidth]="140"></multicirle>

flat-loader have default config like position top, color #be3118, direction left and height 5px

<flat-loader></flat-loader>

flat-loader can have position top || bottom, color any HEX color starting with #, direction left || right and height any valid height

  <flat-loader [position]="'bottom'" [color]="'#be3118'" [direction]="'right'" [height]="'10px'"></flat-loader>

wave preloader having default color f35353 and color2 ffffff with width 100px

<wave></wave>

wave preloader with color f35353 and color2 fcfcfc having width 120px

<wave [color]="'f35353'" [color2]="'fcfcfc'" [width]="120"></wave>

bouncy-circle preloader having default colors '457B9D', 'E63946', 'DAD7CD', '392F5A' and width 100px

<bouncy-circle></bouncy-circle>

bouncy-circle preloader with colors '457B9D', 'E63946', 'DAD7CD', '392F5A' having width 200px. Note colors length should be 4

<bouncy-circle [colors]="['457B9D', 'E63946', 'DAD7CD', '392F5A']" [width]="200"></bouncy-circle>

rolling preloader have default config as below <rolling></rolling>. All below config can be modified to meet your need and can be used as shown <rolling [config]="config"></rolling>

config: RollingConfig = {
  loadingText: 'Loading',
  bgColor: '#347fc3',
  color: '#fff',
  barHeight: '2px',
  minSideLen: '60px',
  maxSideLen: '150px',
  radius: '30%',
  right: '-85px'
}

bouncy ball have default config as below <bouncy-ball></bouncy-ball>. Modify config to meet your need and can be used as shown <bouncy-ball [config]="config"></bouncy-ball>. Please note: More config will be coming, so watch this space.

config: BouncyBallConfig = {
  color: '#fbae17',
  text: 'Now Loading'
}

Few Announcement for coming days

  • More preloaders are coming. Provide your suggesstions here with label loader request
  • Demo page will be coming soon - we've started working on it.