InlineCollapse
class InlineCollapse(val text: InlineContent, val placeholder: InlineContent, val isOpen: Boolean) : TextNode
A collapsible block, whose content can be hidden or shown by interacting with it.
Parameters
text
expanded content
placeholder
content to show when the node is collapsed
isOpen
whether the node is expanded at the beginning
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