Options
All
  • Public
  • Public/Protected
  • All
Menu

A component in the current page.

Hierarchy

Index

Methods

  • Returns Component[]

    The direct children of the component.

  • getComponent<U>(...componentNames: string[]): undefined | U
  • getComponent(): Component
  • Looks up for a nested component.

    Type Parameters

    Parameters

    • Rest ...componentNames: string[]

      A lookup path.

    Returns undefined | U

  • Returns Component

  • getComponentById<U>(id: string): undefined | Component | U
  • Looks up for a nested component by its id.

    Type Parameters

    Parameters

    • id: string

      A component id.

    Returns undefined | Component | U

  • getId(): string
  • Returns string

    The component id.

  • getModels<T>(): T
  • Type Parameters

    Returns T

    The map of the component models.

  • getName(): string
  • Returns string

    The name of the component.

  • getParameters<T>(): T
  • getProperties<T>(): T
  • alias

    getParameters

    Type Parameters

    Returns T

    The properties of the component.

  • getUrl(): undefined | string
  • Returns undefined | string

    The link to the partial component model.