ToggleCollapsedOptionsinterface 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.