Skip to content

RendererSection

Unofficial

A section of the read view renderer representing a block of rendered content.

Import:

import type { RendererSection } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface RendererSection

Properties

PropertyTypeDescription
computedbooleanWhether the section's height has been measured since its content last changed.
elHTMLElementDOM element for this section.
heightnumberMeasured height of the section, in pixels.
htmlstringRaw HTML content for this section.
renderedbooleanWhether this section has been rendered to the DOM.

Methods

MethodReturnsDescription
resetCompute()voidMark the section's height as stale, so the next render measures it again.

Links to this page: