Skip to content

Type Editor


Type Editor / @type-editor/state / selection/Selection / JSONToSelectionDeserializer

Interface: JSONToSelectionDeserializer

Defined in: state/src/selection/Selection.ts:29

Constructors

Constructor

ts
new JSONToSelectionDeserializer(...args): any;

Defined in: state/src/selection/Selection.ts:31

Parameters

ParameterType
...argsany[]

Returns

any

Methods

fromJSON()

ts
fromJSON(doc, json?): PmSelection;

Defined in: state/src/selection/Selection.ts:32

Parameters

ParameterType
docNode_2
json?SelectionJSON

Returns

PmSelection