In toast of UI, and if you use the Confirm, the well-known message is waiting for user confirmation.
<script type="text/javascript"> $(document.body).ready(function () { var toast = new ax5.ui.toast(); toast.setConfig({ theme: "danger", containerPosition: "top-left" }); $('#confirm-push').click(function () { toast.confirm({ msg: 'Toast message', onStateChanged: function () { console.log(this); } }, function () { // close toast console.log(this); }); }); }); </script>
To "this" anonymous function, has been included, such as the following objects. You can check directly open a console window.
{key: "ok", value: Object, toastId: "ax5-toast-1-0", btn_target: button.btn.btn-danger}
'AX5UI' can be used with Bootstrap theme. The development of the distribution of the various UI plug-in. When you click the link to move to AX5UI index page.
AXBoot makes it easy to build web applications with Java & HTML5 Repeatable and noise development process are resolved by AXBoot.