Table of contents

Public class

A manager for ensuring correct focus across the editor. It will listen for changes in the instance state to make sure the container is focused when the editor is focused. Also, it will make sure that the focus is on things like text labels when the editor is in editing mode.

Signature
class FocusManager {}
Source

packages/editor/src/lib/editor/managers/FocusManager.ts


Constructor

Public constructor

Constructs a new instance of the FocusManager class

Parameters
NameDescription

editor

Editor

autoFocus

boolean
References

Editor


Properties

editor

Public property

Signature
editor: Editor
References

Editor


Methods

blur()

Public method

Signature
blur(): void

dispose()

Public method

Signature
dispose(): void

focus()

Public method

Signature
focus(): void

EVENT_NAME_MAPGapsSnapIndicator