Back to Trilium

Interface TextPosition

docs/Script API/interfaces/Frontend_Script_API._internal_.TextPosition.html

0.102.2936 B
Original Source

Interface TextPosition

interface TextPosition {
offset: number;
textNode: TextNode;
compareWith(pos: TextPosition): string;
}

Index

Properties

offsettextNode

Methods

compareWith

Properties

offset

offset: number

textNode

textNode: TextNode

Methods

compareWith

compareWith(pos: TextPosition): string

Parameters

  • pos: TextPosition

Returns string

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark

On This Page

Properties offsettextNode Methods compareWith