PHP Classes

File: ui/assets/js/demo/ui-modal-notification.demo.js

Recommend this page to a friend!
  Packages of madi kais   PHP KAI Harness   ui/assets/js/demo/ui-modal-notification.demo.js   Download  
File: ui/assets/js/demo/ui-modal-notification.demo.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP KAI Harness
AI Agent framework with telemetry dashboard
Author: By
Last change:
Date: 4 months ago
Size: 437 bytes
 

 

Contents

Class file image Download
var handleToastsInit = function() { $('[data-init="toast"]').toast('show'); }; var handleToastToggle = function() { $(document).on('click', '[data-toggle="toast"]', function(e) { e.preventDefault(); var targetElm = $(this).attr('data-target'); $(targetElm).toast('show'); }); }; /* Controller ------------------------------------------------ */ $(document).ready(function() { handleToastsInit(); handleToastToggle(); });