Skip to content

Dimanoid/ngx-dm-dialog

Repository files navigation

ngx-dm-dialog

npm version bundle size build Coverage Status

Demo page: https://dimanoid.github.io/ngx-dm-dialog/

Installation

Install the library and dependecies:

npm i -S resize-observer-polyfill @dimanoid/ngx-dm-dialog

Add module to imports:

import { DmDialogModule } from '@dimanoid/ngx-dm-dialog';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule, BrowserAnimationsModule, CommonModule,
        .......
        DmDialogModule  // <-------
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }

API


DmDialogComponent <dm-dialog></dm-dialog>

Property Description Type Default value