Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public showInfo() {
if (isIOS) {
TNSFancyAlert.showAnimationType =
SCLAlertViewShowAnimation.SlideInFromBottom;
TNSFancyAlert.hideAnimationType =
SCLAlertViewHideAnimation.SlideOutToRight;
}
TNSFancyAlert.showInfo(
"Info",
`You can integrate any CocoaPod or Android library with NativeScript.`,
"Sweet!"
);
if (isIOS) {
this.reset();
}
}
showInfo(): void {
TNSFancyAlert.showInfo("Info", "1 + 1 = 2", "Correct!");
}