Skip to main content

resetChecklist(id: number)

Trigger a specific checklist by id.

Example

// Reset a specific checklist, closing it if it was open
window.CommandBar.resetChecklist(1);


// Reset a specific checklist, keeping it open if it was open
window.CommandBar.resetChecklist(1, true);

Method parameters

keepOpen

boolean

If set the checklist will remain open if it was already open. If not set the checklist will close if it was already open. Default is false. You can use this option if you only want to reset checklist item progress without closing the checklist.