YFile | @jupyter/ydoc (original) (raw)

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _changed

Readonly version

version: string = '1.0.0'

Readonly ysource

ysource: YText = ...

Accessors

awareness

changed

disposed

isDisposed

source

Returns void

state

undoManager

ydoc

ystate

Methods

Private _modelObserver

canRedo

canUndo

clearUndoHistory

dispose

getSource

getState

Returns undefined | JSONValue

Protected onStateChanged

redo

setSource

Returns void

setState

transact

Returns void

undo

updateSource

Returns void

Static create