Class DrekPlacement<TStatus>Abstract

A rendered content placement.

Type Parameters

Hierarchy

Implements

  • EventKeeper<TStatus>

Constructors

Properties

fragment: undefined | DrekFragment<[DrekContentStatus]>

A fragment the content is placed to, if any.

readStatus: AfterEvent<TStatus>

An AfterEvent keeper of content placement status.

Accessors

  • get onceConnected(): OnEvent<TStatus>
  • An OnEvent sender of placed content connection event.

    The registered receiver is called when placed content is connected. If connected already the receiver is called immediately.

    Returns OnEvent<TStatus>

  • get whenConnected(): OnEvent<TStatus>
  • An OnEvent sender of single placed content connection event.

    The registered receiver is called when placed content is connected. If connected already the receiver is called immediately.

    In contrast to onceConnected, cuts off the event supply after sending the first event.

    Returns OnEvent<TStatus>

Methods

  • An alias of readStatus.

    Returns AfterEvent<TStatus>

    An AfterEvent keeper of content placement status.

Generated using TypeDoc