ng-unifirm
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ng-unifirm

Simple library for universal ( app-wide ) use modal window of action confirmation.

Installation

add ng-unifirm to your app dependencies inside package.json

Usage

Add ConfirmModule import to your AppModule:

import { ConfirmModule } from "ng-unifirm";

Inside your app entry html file ( app.component.html by default ) add

<ng-unifirm></ng-unifirm>

Then use @Confirm() decorator before any method in your app, to call a modal on every said method execution. After user makes a decision in the modal it will either call the method or do nothing based on if the action was approved or declined respectively.

Readme

Keywords

none

Package Sidebar

Install

npm i ng-unifirm

Weekly Downloads

1

Version

1.0.0

License

none

Unpacked Size

168 kB

Total Files

26

Last publish

Collaborators

  • marvinjan