Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public showError() {
TNSFancyAlert.showError(
"Error!",
"At least it looks good :)",
"Yeah it does."
);
}
showError(): void {
TNSFancyAlert.showError("Uh oh!", "Somebody made a boo-boo..", "I'll clean it up..");
}
showWarning(): void {
TNSFancyAlert.showError("Warning!", "There's something between your teeth.", "Uhm, thanks..");
}