Releases: TutorialsAndroid/KAlert
New Release v2.0.1
KAlert.js v2.0.1 ( Fixed Issue in image dialog appears big in height )
This is a major feature upgrade release for KAlert.js.
KAlert.js now matches the direction of the Android KAlertDialog and Flutter KAlertFlutter libraries with a more professional dialog experience, modern APIs, WebView iframe support, progress dialogs, image dialogs, improved prompt handling, and responsive website updates.
New Features
- Added
KAlert.success(). - Added
KAlert.error(). - Added
KAlert.warning(). - Added
KAlert.info(). - Added
KAlert.question(). - Added
KAlert.progress(). - Added
KAlert.image(). - Added
KAlert.webView(). - Added
KAlert.modal()for advanced custom usage. - Added WebView iframe dialog support.
- Added Terms and Privacy Policy dialog support.
- Added Help, FAQ, documentation, and hosted web page dialog support.
- Added progress/loading dialog support.
- Added image dialog support.
- Added big image and circle image modes.
- Added prompt validation support.
- Added modern style presets.
- Added dark mode option.
- Added customizable confirm and cancel buttons.
- Added title, message, and button font weight options.
- Added show, dismiss, confirm, cancel, WebView load, and WebView error callbacks.
WebView Dialog Support
KAlert.js now supports iframe-based WebView dialogs.
KAlert.webView({
title: "Terms & Privacy Policy",
message: "Please read before continuing.",
url: "https://example.com/privacy-policy",
webViewHeight: 420,
confirmText: "I Agree",
cancelText: "Cancel"
}).then((accepted) => {
if (accepted) {
console.log("Accepted");
}
});KAlert.js v2.0.0 - WebView Dialog Support and Modern UI Upgrade
KAlert.js v2.0.0
This is a major feature upgrade release for KAlert.js.
KAlert.js now matches the direction of the Android KAlertDialog and Flutter KAlertFlutter libraries with a more professional dialog experience, modern APIs, WebView iframe support, progress dialogs, image dialogs, improved prompt handling, and responsive website updates.
New Features
- Added
KAlert.success(). - Added
KAlert.error(). - Added
KAlert.warning(). - Added
KAlert.info(). - Added
KAlert.question(). - Added
KAlert.progress(). - Added
KAlert.image(). - Added
KAlert.webView(). - Added
KAlert.modal()for advanced custom usage. - Added WebView iframe dialog support.
- Added Terms and Privacy Policy dialog support.
- Added Help, FAQ, documentation, and hosted web page dialog support.
- Added progress/loading dialog support.
- Added image dialog support.
- Added big image and circle image modes.
- Added prompt validation support.
- Added modern style presets.
- Added dark mode option.
- Added customizable confirm and cancel buttons.
- Added title, message, and button font weight options.
- Added show, dismiss, confirm, cancel, WebView load, and WebView error callbacks.
WebView Dialog Support
KAlert.js now supports iframe-based WebView dialogs.
KAlert.webView({
title: "Terms & Privacy Policy",
message: "Please read before continuing.",
url: "https://example.com/privacy-policy",
webViewHeight: 420,
confirmText: "I Agree",
cancelText: "Cancel"
}).then((accepted) => {
if (accepted) {
console.log("Accepted");
}
});KAlert.js v1.2.0 — Major API Upgrade with Prompt Dialog, Titles & Enhanced Modal Controls
🚀 KAlert.js v1.2.0 Released
This release introduces a major upgrade to the modal system with a new flexible options-based API and several powerful new features.
✨ New Features
- Title support for dialogs
- Prompt input dialog support
- Custom confirm and cancel button text
- ESC key closes dialog
- Click outside dialog to close option
- Placeholder support for prompt inputs
- Improved modal architecture
- Cleaner Promise-based workflow
🎨 UI Improvements
- Improved modal animation
- Better spacing and typography
- More consistent icon styling
- Enhanced overlay blur effect
⚡ Developer Experience
- New options-based API structure
- Backward-compatible alert usage
- Easier customization
- More scalable dialog engine
📦 Example Usage
KAlert.show({
title: "Success",
message: "Saved successfully!",
type: "success"
});New Release
Changelog
v1.1.1
Added
- Font Awesome icon integration
- Automatic icon stylesheet injection
- Automatic CSS loader via CDN
- Promise-based modal system
Improved
- Modal animation smoothness
- Overlay blur effect styling
- Button hover transitions
- Alert type color styling
Fixed
- Duplicate stylesheet injection prevention
- Modal button event handling reliability
Developer Experience
- CDN-ready architecture
- Cleaner modal engine structure
- Better scalability for future features
Fixed Issue in Styles
v1.0.1 Added Styles
First Release
First Release of KAlert Web Version