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

ToggleCollapsedOptions

interface ToggleCollapsedOptions {
collapsed?: boolean;
isToggleable?: (node: Node) => boolean;
}

§Properties

§
collapsed?: boolean
[src]

If this value exists, the command will set the collapsed attribute to this value instead of toggle it.

§
isToggleable?: (node: Node) => boolean
[src]

An optional function to accept a list node and return whether or not this node can toggle its collapsed attribute.