iya-sts
    Preparing search index...

    The front door's page table. A static utility class.

    Index
    frame: (body: string, ctx: any) => string = WebHomeFront.frame

    The card around a page, for the surface's frame.

    Type Declaration

      • (body: string, ctx: any): string
      • The card around a page: the band, then the body with the chooser. A problem page (no view) draws its own card and is left as it is.

        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

    PAGES: {
        operation: string;
        path: string;
        render: (view: any, ctx: any) => string;
        title: (view: any) => string;
    }[] = PAGES

    Every page.

    • Draws a page's body from its view.

      Parameters

      • path: string

        the page's path

      • view: any

        its operation's view

      • ctx: any

        the render context

      Returns string

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