Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Content

Content used on the page.

Hierarchy

  • Content

Index

Methods

getData

  • getData(): ContentModel
  • getData<T>(): T & ContentModel
  • Returns ContentModel

    The content data as it is returned in the Page Model API.

  • Type parameters

    • T: Record<string, any>

    Returns T & ContentModel

getId

  • getId(): string
  • Returns string

    The content id.

getLocale

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

    The content locale.

getMeta

  • Returns Meta[]

    The content meta-data collection.

getName

  • getName(): string
  • Returns string

    The content name.

getUrl

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

    The link to the content.