const mixinafPillow::Pages

afPillow::Pages

(Service) - Methods for discovering Pillow pages and returning PageMeta instances.

get

Source

@Operator
abstract PageMeta get(Type pageType, Obj?[]? pageContext := null)

An alias for pageMeta().

pageMeta

Source

abstract PageMeta pageMeta(Type pageType, Obj?[]? pageContext := null)

Create PageMeta for the given page type and context.

(Note: pageContext are the arguments to the @InitRender method, if any.)

pageTypes

Source

abstract Type[] pageTypes()

Returns all Pillow page types.