Documentation
    Preparing search index...

    PageGroup class This is a collection of pages that can be requested like a normal page. Each member of the group has an eligibility formula, and the first page whose eligibility formula matches is shown. This can be used to show different pages on different devices.

    Implements

    Index

    Constructors

    Properties

    description?: string
    id?: number
    min_role: number
    name: string
    random_allocation: boolean

    Methods

    • determine the first page in the group that matches the client screen size

      Parameters

      • data: ScreenInfoParams

        client screen and window size

      • user: any

        the user or just { role_id: 100 }

      • Optionallocale: string

      Returns Promise<Page | null>

      the matching page, or null