Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

findCheckboxInListItem

Finds a <input type="checkbox"> element from a <li> element. It will stop searching if it reaches a sub-list.

function findCheckboxInListItem(
node: Element,
depth?: number,
maxDepth?: number,
): HTMLInputElement | void;
§
findCheckboxInListItem(node: Element, depth?: number, maxDepth?: number): HTMLInputElement | void
[src]

§Parameters

§
node: Element
[src]
§
depth?: number optional
[src]
§
maxDepth?: number optional
[src]

§Return Type

§
HTMLInputElement | void
[src]