sdk-loading
v2.2.1
Published
Simple to use (Angular) loading component that overlays other components while processing.
Downloads
257
Maintainers
Readme
Description:
The sdk-loading component is an easy way to lock down the screen while processing is occuring. This prevents your users from taking action while another process is running.
INSTALLATION:
Using NPM:
npm install --save sdk-loading
CONFIGURATION:
To configure the sdk-loading
for your application, add the following lines to your app.module.ts file:
import { SDKLoadingModule } from 'sdk-loading';
@NgModule({
imports: [
SDKLoadingModule
]
})
export class AppModule { }
USAGE:
<sdk-loading [isLoading]="isLoading"></sdk-loading>
For smaller components, you can use the ellipsis version:
<sdk-loading [isLoading]="isLoading" [showEllipsis]="true"></sdk-loading>
Or add a style to your loading component:
<sdk-loading [isLoading]="isLoading" style="padding: 10px"></sdk-loading>