Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular http loader

npm install --save ngx-http-loader

// Import in app module
NgxHttpLoaderModule.forRoot()

// Use in app.component.html
<ngx-http-loader  [opacity]="0.9" [title]="'paithaniandsilksaree.com'" [subTitle]="'Buy best paithani or semi paithani silk sarees or paithani accessories.'" [loader]="loader.ELLIPSIS" [iconColor]="'white'" [backdropBackgroundColor]="'black'">
</ngx-http-loader>

// add Loader enum to app.component.ts
public loader = NgxLoader;

more info visit 
https://www.npmjs.com/package/ngx-http-loader

demo link
https://bhushanzade.github.io/ngx-http-loader/
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #angular #http #loader
ADD COMMENT
Topic
Name
1+2 =