Skip to content

Cm5LineHandle

Unofficial

A handle to a line in a CodeMirror 5 document.

Import:

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

Signature:

export interface Cm5LineHandle

Properties

Property Type Description
text string The text content of the line.

Methods

Method Returns Description
off('change', handler) void Removes an event listener for the specified event.
off('delete', handler) void Removes an event listener for the specified event.
on('change', handler) void Registers an event listener for the specified event.
on('delete', handler) void Registers an event listener for the specified event.

Links to this page: