0.0.5 • Published 4 years ago

triasoftware-basic-alert v0.0.5

Weekly downloads
17
License
-
Repository
-
Last release
4 years ago

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

NameTypeParameters
showAlertFunctiontitle: string, text: string, icon: any, buttonText: string