Collapse
class Collapse(val title: InlineContent, val isOpen: Boolean, val children: List<Node>) : NestableNode
A collapsible block, whose content can be hidden or shown by interacting with it.
Parameters
title
title of the block
isOpen
whether the block is open at the beginning
Properties
Functions
Link copied to clipboard
Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.
Link copied to clipboard