@von-development-studio/primeng-confirmation-dialog
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

PrimeNG Confirmation Dialog

This library was generated with Angular CLI version 11.0.3.

Installing

  1. Add NPM package into your project:
npm i @von-development-studio/primeng-confirmation-dialog -S
  1. Add VonConfirmationModule into imports section
import { VonConfirmationModule } from '@von-development-studio/primeng-confirmation-dialog';

...

@NgModule({
  imports: [
    ...
    VonConfirmationModule,
    ...
  ]
})
export class AppModule { }

Usage

  1. Add service in constructor:
import { VonConfirmationDialogService } from '@von-development-studio/primeng-confirmation-dialog';

constructor(
  ...
  protected confirmationDialog: VonConfirmationDialogService,
  ...
) { }
  1. Call service, open method, with configuration parameter:
this.confirmationDialog.open<any>({
  save: of({})
});

By Von Development Studio

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @von-development-studio/primeng-confirmation-dialog

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    79.9 kB

    Total Files

    28

    Last publish

    Collaborators

    • lfgarcia22