1818
1919You can also try our NGX MASK [ check] ( https://www.npmjs.com/package/ngx-mask ) it.
2020You can also try our NGX COPYPASTE [ check] ( https://www.npmjs.com/package/ngx-copypaste ) it.
21- ### You can try live [ demo] ( https://jsdaddy.github.io/ngx-loader-indicator/ ) with examples.
21+
22+ ### You can try live [ demo] ( https://jsdaddy.github.io/ngx-loader-indicator/ ) with examples.
23+
2224## Installing
2325
2426``` bash
@@ -39,7 +41,7 @@ bootstrapApplication(AppComponent, {
3941 (... )
4042 ],
4143}).catch ((err ) => console .error (err ));
42- ````
44+ ```
4345
4446or configure for feature with ` provideNgxLoaderIndicator ` and import standalone directive ` NgxLoaderIndicatorDirective `
4547
@@ -68,7 +70,7 @@ or configure for feature with `provideNgxLoaderIndicator` and import standalone
6870 ],
6971})
7072export class MyFeatureComponent {}
71- ` ` ` `
73+ ```
7274
7375## Quickstart if ngx-loader-indicator version < 15.0.0
7476
@@ -93,25 +95,26 @@ import {NgxLoaderIndicatorModule} from 'ngx-loader-indicator'
9395### Usage
9496
9597``` html
96- <div [ngxLoaderIndicator] =" isLoading" >Content</div >
98+ <div [ngxLoaderIndicator] =" isLoading" >Content</div >
9799```
98100
99101#### Examples
100102
101103``` html
102104<form (ngSubmit) =" save(form.value)" [formGroup] =" form" [ngxLoaderIndicator] =" isLoading" >
103- <h2 >Login</h2 >
104- <input matInput type =" email" placeholder =" Email" #email formControlName =" email" >
105- <input matInput type =" password" placeholder =" Password" #name formControlName =" password" >
106- <button mat-button [disabled] =" form.invalid" >Login</button >
105+ <h2 >Login</h2 >
106+ <input matInput type =" email" placeholder =" Email" #email formControlName =" email" / >
107+ <input matInput type =" password" placeholder =" Password" #name formControlName =" password" / >
108+ <button mat-button [disabled] =" form.invalid" >Login</button >
107109</form >
108110```
109111
110112## Options
111- You can define your custom options
112113
114+ You can define your custom options
113115
114116### custom img (string) and colors
117+
115118``` typescript
116119 {
117120 img : string ,
@@ -123,6 +126,7 @@ You can define your custom options
123126```
124127
125128### custom wrapper layout colors
129+
126130``` typescript
127131 {
128132 loaderStyles : {
@@ -132,6 +136,7 @@ You can define your custom options
132136```
133137
134138### animations options for image rotation
139+
135140``` typescript
136141 rotate : {
137142 delay ?: number ;
@@ -146,8 +151,8 @@ You can define your custom options
146151 },
147152```
148153
149-
150154### Usage
155+
151156``` typescript
152157import {NgxLoaderIndicatorModule } from ' ngx-loader-indicator'
153158
0 commit comments