# development-banner

> This Library is Built to show development banner on the screen

Latest version **1.0.2** (published 2022-05-11) · 0 weekly downloads

## Install

```sh
npm install development-banner
pnpm add development-banner
yarn add development-banner
bun add development-banner
```

## 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.2 |
| Published | 2022-05-11 |
| First published | 2021-12-02 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 57.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | firat.ozcevahir |

## Links

- npm: https://www.npmjs.com/package/development-banner
- npm.io page: https://npm.io/package/development-banner

## Dependencies (1)

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

## Recent versions

- 1.0.2 (latest) — 2022-05-11
- 1.0.1 — 2022-05-11
- 1.0.0 — 2022-05-11
- 0.0.3 — 2021-12-02
- 0.0.2 — 2021-12-02
- 0.0.1 — 2021-12-02

## README

This Library is Built to show development banner on the screen

Works with Angular v12

**INSTALLATION**

    npm i development-banner --save

  

**USAGE**

Add **DevelopmentBannerModule** to your **_app.module.ts_**

    import { NgModule } from '@angular/core';
    import { BrowserModule } from '@angular/platform-browser';
    import { DevelopmentBannerModule } from 'development-banner';
    import { AppRoutingModule } from './app-routing.module';
    import { AppComponent } from './app.component';  
    
    @NgModule({
	    declarations: [
			AppComponent
		],
	    imports: [
		    BrowserModule,
		    AppRoutingModule,
		    DevelopmentBannerModule.forRoot()
	    ],
	    providers: [],
	    bootstrap: [AppComponent]
    })
    
    export class AppModule {
    }

Then you can add `<development-banner></development-banner>` to your `app.component.ts`

<br>
<br>
<br>

**CONFIGURATION**

You can configure your banner in your `app.module.ts` 

_For Example:_

    DevelopmentBannerModule.forRoot({animatedText: true})

**Properties**

| property name | type | default value | description |
|--|--|--|--|
| *align*  | string | center | alignment of the banner |
| *textAlign* | string | center | the text alignment |
| *valign* | string | top | vertical alignment of the banner | 
|*fixed* | boolean| false| to make the banner fixed on the screen |
|*transparent*| boolean| false |to make the banner transparent or opaque|
|*fullWidth* | boolean| true|to make the banner' width 100% or fit-content|
|*text*| string|DEVELOPMENT MODE ON!!|the text shown on the banner|
|*panelClass*|string|development-banner-container|panel class of the banner|
|*closeable*|boolean|true|to make the banner closeable or not|
|*animatedText*|boolean|false|to make text animated|
|*animationBehavior*|string|scroll|to change the animation behavior of text|
|*animationSpeed*|number|6|to change text's animation speed|

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