All Projects → JsDaddy → ngx-loader-indicator

JsDaddy / ngx-loader-indicator

Licence: MIT license
Awesome loader for angular applications. No wrappers only you elements

Programming Languages

typescript
32286 projects
SCSS
7915 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ngx-loader-indicator

ngx-smart-loader
Smart loader handler to manage loaders everywhere in Angular apps.
Stars: ✭ 28 (-36.36%)
Mutual labels:  loader, loading, ngx-loader
busy-load
A flexible loading-mask jQuery-plugin
Stars: ✭ 76 (+72.73%)
Mutual labels:  loader, loading, loading-spinner
SSSwiftUISpinnerButton
SSSwiftUISpinnerButton is a collection of various spinning animations for buttons in SwiftUI.
Stars: ✭ 37 (-15.91%)
Mutual labels:  loader, loading, loading-spinner
Spinners React
Lightweight SVG/CSS spinners for React
Stars: ✭ 254 (+477.27%)
Mutual labels:  loader, loading, loading-spinner
Whirl
CSS loading animations with minimal effort!
Stars: ✭ 774 (+1659.09%)
Mutual labels:  loader, loading, loading-spinner
Mkloader
Beautiful and smooth custom loading views
Stars: ✭ 1,377 (+3029.55%)
Mutual labels:  loader, loading
Eclipseloading
🌞 日食加载动画
Stars: ✭ 114 (+159.09%)
Mutual labels:  loader, loading
Vue Loaders
Vue + loaders.css
Stars: ✭ 127 (+188.64%)
Mutual labels:  loader, loading
Vue Wait
Complex Loader and Progress Management for Vue/Vuex and Nuxt Applications
Stars: ✭ 1,869 (+4147.73%)
Mutual labels:  loader, loading
Loading
loading...正在加载中的动画效果
Stars: ✭ 36 (-18.18%)
Mutual labels:  loader, loading
React Content Loader
⚪ SVG-Powered component to easily create skeleton loadings.
Stars: ✭ 11,830 (+26786.36%)
Mutual labels:  loader, loading
Is Loading
Simple library to show visual feedback when loading data or any action that would take time
Stars: ✭ 232 (+427.27%)
Mutual labels:  loader, loading
vue-loading
Loading bar for Vue.js apps using axios
Stars: ✭ 19 (-56.82%)
Mutual labels:  loader, loading
Fiftyshadesof
An elegant context-care loading placeholder for Android
Stars: ✭ 1,110 (+2422.73%)
Mutual labels:  loader, loading
spinnies
Node.js module to create and manage multiple spinners in command-line interface programs
Stars: ✭ 111 (+152.27%)
Mutual labels:  loading, loading-spinner
Css Spinner
small, elegant pure css spinner for ajax or loading animation
Stars: ✭ 1,013 (+2202.27%)
Mutual labels:  loader, loading
Ng Block Ui
Block UI Loader/Spinner for Angular
Stars: ✭ 135 (+206.82%)
Mutual labels:  loader, loading
respinner
Pretty and customizable svg spinners for React.js
Stars: ✭ 89 (+102.27%)
Mutual labels:  loading, loading-spinner
loading
Laravel package to add loading indicator to pages while page is loading.
Stars: ✭ 38 (-13.64%)
Mutual labels:  loader, loading-spinner
Create Content Loader
✏️ Tool to create your own react-content-loader easily.
Stars: ✭ 937 (+2029.55%)
Mutual labels:  loader, loading

NGX Loader INDICATOR

NGX LOADER INDICATOR is the best directive without wrapping your element to additional component

npm npm downloads npm

You can also try our NGX MASK Download it. You can also try our NGX COPYPASTE Download it.

You can see the full documentation with examples.

Installing

$ npm install --save ngx-loader-indicator

Quickstart

Import ngx-loader-indicator module in Angular app.

import {NgxLoaderIndicatorModule} from 'ngx-loader-indicator'

(...)

@NgModule({
  (...)
  imports: [
    NgxLoaderIndicatorModule.forRoot(options)
  ]
  (...)
})

Usage

<div [loader]="isLoading">Content</div> 

Examples

<form (ngSubmit)="save(form.value)" [formGroup]="form" [loader]="isLoading">
  <h2>Login</h2>
  <input matInput type="email" placeholder="Email" #email formControlName="email">
  <input matInput type="password" placeholder="Password" #name formControlName="password">
  <button mat-button [disabled]="form.invalid">Login</button>
</form>

ngx-loader-indicator Options

You can define your custom options

custom img (string) and colors

  {
    img: string,
    imgStyles: {
      width: string, // '30px'
      background: string, // 'yellow' or rgb(255, 255, 0)
    }
  }

custom wrapper layout colors

  {
    loaderStyles: {
      background: string,
    },
  }

animations options for image rotation

    rotate: {
      delay?: number;
      direction?: 'normal' | 'reverse' | 'alternate' | 'alternate-reverse';
      duration: number
      easing?: string;
      endDelay?: number;
      fill?: 'none' | 'forwards' | 'backwards' | 'both' | 'auto';
      id?: string;
      iterationStart?: number;
      iterations?: number;
    },

Usage

import {NgxLoaderIndicatorModule} from 'ngx-loader-indicator'

(...)

@NgModule({
  (...)
  imports: [
    NgxLoaderIndicatorModule.forRoot({
      img: 'https://avatars2.githubusercontent.com/u/32452610?s=200&v=4',
      loaderStyles: {
        background: 'rgba(255, 255, 255, 0.8)',
      },
      imgStyles: {
        width: '100px',
        background: 'yellow',
      },
      rotate: {
        duration: 5000
      },
    }),
  ]
  (...)
})
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].