iya-sts
    Preparing search index...

    The GNAP interaction surface's page table. A static utility class.

    Index
    PAGES: (
        | {
            embedded?: undefined;
            operation: (query: any, id?: string) => string;
            path: string;
            render: (view: any, ctx: any) => string;
            title: (view: any, ctx: any) => string;
        }
        | {
            embedded: boolean;
            operation: () => string;
            path: string;
            render: (view: any, ctx: any) => string;
            title: (view: any, ctx: any) => string;
        }
    )[] = PAGES

    Every page.

    Type Declaration

    • {
          embedded?: undefined;
          operation: (query: any, id?: string) => string;
          path: string;
          render: (view: any, ctx: any) => string;
          title: (view: any, ctx: any) => string;
      }
      • Optionalembedded?: undefined
      • operation: (query: any, id?: string) => string
      • path: string
      • render: (view: any, ctx: any) => string
      • title: (view: any, ctx: any) => string
    • {
          embedded: boolean;
          operation: () => string;
          path: string;
          render: (view: any, ctx: any) => string;
          title: (view: any, ctx: any) => string;
      }
      • embedded: boolean
      • operation: () => string
      • path: string
      • render: (view: any, ctx: any) => string
      • title: (view: any, ctx: any) => string
    • The card around a page: the chooser and the body inside GNAP's card. A problem page the runtime draws itself carries its own card.

      Parameters

      • body: string

        the chooser and the page's body

      • ctx: any

        the surface's context, with the page's view

      Returns string

      the framed markup

    • The row a path is, and the handle in it where the row names one.

      Parameters

      • path: string

        the surface's path

      Returns any

      { row, id }, or null for a path that is not a page

    • Draws a page's body from its view.

      Parameters

      • path: string

        the page's path, a handle in it or not

      • view: any

        its view

      • ctx: any

        the render context

      Returns string

      the HTML, or '' for a path that is not a page