Task list plugin
$ yarn add @aomao/plugin-tasklist
Add to engine
import Engine, {EngineInterface} from'@aomao/engine';import Tasklist, {CheckboxComponent} from'@aomao/plugin-tasklist';new Engine(...,{ plugins:[Tasklist], cards:[CheckboxComponent] })
Default shortcut key mod+shift+9
//hotkeyhotkey?: string | Array<string>;//default mod+shift+9//Use configurationnew Engine(...,{config:{"tasklist":{//Modify shortcut keyshotkey: "shortcut key"}}})
You can pass in {checked:true} to indicate checked, optional parameters
//Use command to execute the plugin and pass in the required parametersengine.command.execute('tasklist', { checked: boolean });//Use command to execute query current status, return false or current list plugin name tasklist tasklist unorderedlistengine.command.queryState('tasklist');