Interface UIRelatedContent

The related content UI API which can be used to toggle UI components.

Remarks


- Available since v2.14.2.

interface UIRelatedContent {
    showing: boolean;
    sources: RelatedContentSource[];
    addEventListener<TType>(type, listener): void;
    hide(): void;
    removeEventListener<TType>(type, listener): void;
    show(): void;
}

Hierarchy (view full)

Properties

showing: boolean

Whether the related content menu is showing.

List of related content sources.

Methods

  • Hides the related content menu.

    Returns void

  • Show the related content menu.

    Returns void