Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LayoutEditorRef

The Layout Editor allows modifying Layouts while ensuring all the different invariants of the Layout objects are upheld no matter what kind of operations are being applied. It provides the current state of the editor as state objects that can be visualized by any kind of User Interface.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • This constructor is an implementation detail. Do not use this.

    Parameters

    • ptr: number

    Returns LayoutEditorRef

Properties

ptr

ptr: number

Methods

state

  • Returns the state of the Layout Editor.

    Returns LayoutEditorState

stateAsJson

  • stateAsJson(): any
  • Encodes the Layout Editor's state as JSON in order to visualize it.

    Returns any

Generated using TypeDoc