How to use the nativescript-fancyalert.TNSFancyAlert.showError function in nativescript-fancyalert

To help you get started, we’ve selected a few nativescript-fancyalert examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github NathanWalker / nativescript-fancyalert / demo / app / main-view-model.ts View on Github external
public showError() {
    TNSFancyAlert.showError(
      "Error!",
      "At least it looks good :)",
      "Yeah it does."
    );
  }
github EddyVerbruggen / nativescript-pluginshowcase / app / feedback / helpers / fancyalert-helper.ts View on Github external
showError(): void {
    TNSFancyAlert.showError("Uh oh!", "Somebody made a boo-boo..", "I'll clean it up..");
  }
github EddyVerbruggen / nativescript-pluginshowcase / app / feedback / helpers / fancyalert-helper.ts View on Github external
showWarning(): void {
    TNSFancyAlert.showError("Warning!", "There's something between your teeth.", "Uhm, thanks..");
  }