Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new PageContext(properties: PlainObject<any>): PageContext

Properties

Protected _appContext

_appContext: AppContext

The reference to the app context

Protected _layoutComponents

The list of layout components that are registered for this framework instance

Protected _linkRepository

_linkRepository: LinkRepository

Allows to access all links that have been given by the current page

Protected _pageMeta

_pageMeta: PageMeta

The page meta object to modify the page's metadata and title

Protected _pidRepository

_pidRepository: PidRepository

The repository to look up the configured PIDs (page-ids). The pid configuration is passed by the frontend api every time a page response is requested from the server

Protected _router

_router: VueRouter

The vue router we use for this app

Accessors

appContext

axios

  • get axios(): AxiosInstance

baseUrl

  • get baseUrl(): string

children

commonElements

  • get commonElements(): PlainObject<any>

content

currentRoute

  • get currentRoute(): Route
  • Returns either the currently active route or undefined if this method is called before the first page data was received from the server

    Returns Route

data

eventEmitter

  • get eventEmitter(): EventEmitter
  • Returns the instance of the event emitter, for this framework instance The event emitter is used for global events that should be handled across multiple components

    Returns EventEmitter

id

  • get id(): number

isPreview

  • get isPreview(): boolean

languageCode

  • get languageCode(): string

layout

  • get layout(): string

layoutComponents

linkRepository

pageMeta

pidRepository

resourceApi

rootLine

router

  • get router(): VueRouter

siteUrl

  • get siteUrl(): string

state

store

translation

type

  • get type(): string

Methods

__setProperty

  • __setProperty(name: string, value: any): void

Protected afterNavigation

  • afterNavigation(e: EventEmitterEvent): void

refreshCommonElement

  • refreshCommonElement(key: string): Promise<any>

Generated using TypeDoc