API Docs for: 0.8.0
Show:

PageRenderer Class

Retrieves the necessary data as well as prepares the layout so a view loader can complete the render of content

Constructor

PageRenderer

(
  • context
)

Parameters:

  • context Object

Item Index

Properties

Methods

getContentLinkPrefix

() String

Returns:

String:

getLayout

(
  • content
)
String

Retrieves the layout from the content object. Provides a mechanism to allow for layout parameter to have any name.

Parameters:

  • content Object

Returns:

String:

setLayout

(
  • content
  • layout
)

A workaround to allow this prototype to operate on articles and pages. The layout parameter is not the same. Until we introduce breaking changes this will have to do.

Parameters:

  • content Object
  • layout String