Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents a layer over the editing area. Layers are used to show information that are above (in z order) the edited content.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Layer(el: HTMLElement): Layer

Properties

Protected el

el: HTMLElement

The DOM element which is the layer.

Methods

append

  • append(child: Node): void
  • Append a child to a layer.

    Parameters

    • child: Node

      The child to append. This could be a document fragment if you want to add multiple nodes at once.

    Returns void

clear

  • clear(): void

Generated using TypeDoc