Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InsertionEvent

An event sent when text is added, which contains a body and start position.

Hierarchy

  • InsertionEvent

Implements

Index

Modules

Type aliases

Constructors

Properties

Accessors

Methods

Type aliases

Static JSON

JSON: object

Type declaration

  • body: string
  • rclk: LogootInt.JSON
  • start: JSON

Constructors

constructor

Properties

body

body: string = ""

last

last: InsertionEvent = undefined

next

next: InsertionEvent = undefined

rclk

rclk: Int32 = new LogootInt()

Optional start

start: LogootPosition = undefined

state

state: EventState = EventState.PENDING

type

type: EventType = EventType.INSERTION

Accessors

end

length

  • get length(): number

Methods

toJSON

Static fromJSON

Generated using TypeDoc