getTasks()
getArchivedTasks()
getCurrentContextTasks()
addTask(data)
updateTask(id, data)
getAllProjects()
addProject(data)
updateProject(id, data)
getAllTags()
addTag(data)
updateTag(id, data)
showSnack(config)
notify(config)
openDialog(config)
persistDataSynced(data)
loadSyncedData()
registerHook(hook, handler)
registerHeaderButton(config)
registerMenuEntry(config)
registerShortcut(config)
setCounter(key, value)
getCounter(key)
incrementCounter(key, amount)
decrementCounter(key, amount)
deleteCounter(key)
getAllCounters()
Console output will appear here...
This is a paragraph with bold, italic, and link styles.
Inline code is styled automatically.
const tasks = await PluginAPI.getTasks();
console.log(tasks.length);
| Method | Description |
|---|---|
getTasks() |
Get all active tasks |
addTask(data) |
Create a new task |
showSnack(cfg) |
Show a notification |
A static card with background, shadow, and border.
Hover to see the lift effect and primary border highlight.