# cdl-loader

> This is simple loader npm packege. We can use this packege to display loader at top of the screen.

Latest version **1.0.1** (published 2020-09-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install cdl-loader
pnpm add cdl-loader
yarn add cdl-loader
bun add cdl-loader
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-09-29 |
| First published | 2020-09-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 116.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ritesh Solanki |
| Maintainers | dev-users |
| Keywords | loader, angular loader, ng2 loader |

## Links

- npm: https://www.npmjs.com/package/cdl-loader
- npm.io page: https://npm.io/package/cdl-loader

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.10.0

## Recent versions

- 1.0.1 (latest) — 2020-09-29
- 1.0.0 — 2020-09-29

## README

# Loader

This is simple loader npm packege. We can use this packege to display loader at top of the screen.

# Installation instruction

    npm install cdl-loader --save

# Instruction to use the package

## How to use?

Please follow below instruction to implement loader in your angular application.

    //in module
    import { LoaderModule } from 'cdl-loader'; 

    imports: [
        LoaderModule
    ]

    // In your component main html file
    <cdl-loader></cdl-loader>

    // In your component ts file
    import { LoaderService } from 'cdl-loader';

    export class AppComponent implements OnInit {

        constructor(private loaderService: LoaderService) {
            //TODO:
        }

        ngOnInit(): void {

            //To display loader 
            this.loaderService.show();

            //To hide loader 
            this.loaderService.hide();
        }
    }

---
_Source: https://npm.io/package/cdl-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
