MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / toggleSubtasks

Function toggleSubtasks

src/ui/TaskCard.ts:405–412  ·  view source on GitHub ↗
(
	card: HTMLElement,
	task: TaskInfo,
	plugin: TaskNotesPlugin,
	expanded: boolean
)

Source from the content-addressed store, hash-verified

403 * Toggle subtasks display for a project task card
404 */
405export async function toggleSubtasks(
406 card: HTMLElement,
407 task: TaskInfo,
408 plugin: TaskNotesPlugin,
409 expanded: boolean
410): Promise<void> {
411 await toggleSubtasksExpansion(createRelationshipExpansionContext(plugin), card, task, expanded);
412}
413
414export async function toggleBlockingTasks(
415 card: HTMLElement,

Calls 2

toggleSubtasksExpansionFunction · 0.90

Tested by

no test coverage detected