Skip to content

OutlineView.findActiveHeading method

OutlineView › findActiveHeading

Unofficial

Find the heading that corresponds to the current cursor position.

Signature:

findActiveHeading(e: unknown): undefined | unknown

Parameters:

Parameter Type Description
e unknown The cursor position or context.

Returns: undefined | unknownThe active heading, or undefined if none found.