pub fn CodeSurface(props: CodeSurfaceProps) -> impl IntoViewExpand 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
- value:
impl Into<Signal<String>>
§Optional Props
- highlighter:
Highlighter - line_height:
f64 - height:
f64 - overscan:
usize