RendererSection
Unofficial
A section of the read view renderer representing a block of rendered content.
Import:
import type { RendererSection } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface RendererSectionProperties
| Property | Type | Description | |
|---|---|---|---|
| computed | boolean | Whether the section's height has been measured since its content last changed. | |
| el | HTMLElement | DOM element for this section. | |
| height | number | Measured height of the section, in pixels. | |
| html | string | Raw HTML content for this section. | |
| rendered | boolean | Whether this section has been rendered to the DOM. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| resetCompute() | void | Mark the section's height as stale, so the next render measures it again. |
Links to this page: