0.0.5 • Published 4 years ago
triasoftware-basic-alert v0.0.5
Basic Alert
This library is compatible with Angular version 10+
This library uses the SweetAlert2 facility
Usage
First you will need to install bootstrap in your project
npm i triasoftware-basic-alert
To use this component follow the steps below.
import module TriasoftwareBasicAlertModule
import component page constructor TriasoftwareBasicAlertService
constructor(private triasoftwareAlert: TriasoftwareBasicAlertService) {}
Method
Name | Type | Parameters |
---|---|---|
showAlert | Function | title: string, text: string, icon: any, buttonText: string |