NavigationContainer
class NavigationContainer(val role: NavigationContainer.Role? = null, val children: List<Node>) : NestableNode
Creates a navigation container, which marks its content as a navigable section.
This doesn't affect the layout of the document by itself, but can be used by themes and renderers to provide additional navigation features, styling, behaviors and accessibility.
Types
Link copied to clipboard
Role of the NavigationContainer, indicating its purpose in the document.
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
Retrieves the stored media associated with this node, if any.
Link copied to clipboard