Interface RelatedContent

The related content API.


- Available since v2.14.2.

interface RelatedContent {
    sources: RelatedContentSource[];
    addEventListener<TType>(type: TType | readonly TType[], listener: EventListener<RelatedContentEventMap[TType]>): void;
    removeEventListener<TType>(type: TType | readonly TType[], listener: EventListener<RelatedContentEventMap[TType]>): void;
}

Hierarchy (view full)

Properties

List of related content sources.

Methods