Skip to main content

CodeSurface

Function CodeSurface 

Source
pub fn CodeSurface(props: CodeSurfaceProps) -> impl IntoView
Expand description

A read-only, virtualized code view of value: renders only the rows in the visible window (plus overscan) at a fixed line_height within a scrollable area of the given height, applies the optional highlighter, and lets brace-delimited regions be folded from the gutter.

§Required Props

§Optional Props