Represents a conlet in the DOM tree. Often, this is backed by a div that serves as a container for the conlet representation. Especially when providing content, however, there may not be such a wrapper element.

Note: it would have been more precise to call this class ConletRepresentation. But as representations of conlets are all we have in this context, the shorter name was chosen for the sake of brevity.

Hierarchy (view full)

Constructors

Methods

  • The root element of the conlet representation.

    Returns HTMLElement

    the element from the DOM

  • The conlet id.

    Returns string

    the conlet id

  • True, if this represents content.

    Returns boolean

  • True, if this represents a preview.

    Returns boolean

  • True, if this represents a view.

    Returns boolean