Skip to main content

euv_toc

Function euv_toc 

Source
pub fn euv_toc(node: VirtualNode<EuvTocProps>) -> VirtualNode
Expand description

A generic sticky anchor table-of-contents aligned with common docs frameworks.

Renders nothing when items is empty. The caller controls the column width and responsive visibility; the component provides the sticky inner stack.

§Arguments

  • VirtualNode<EuvTocProps> - The props node.

§Returns

  • VirtualNode - The TOC virtual DOM tree.