triasoftware-basic-alert
v0.0.5
Published
_This library is compatible with Angular version 10+_
Maintainers
Readme
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-alertTo 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 |
