iya-sts
    Preparing search index...

    /portal/delegate. A static utility class.

    Index
    PAGES: PortalPage[] = ...

    The pages, for web_portal_pages.ts.

    Search: typeof DelegateSearch = DelegateSearch

    The search's timing and ordering, for a test that drives it without a document.

    • The page's body.

      Parameters

      • view: any

        GET /account-api/delegate's answer

      • ctx: any

        the render context

      Returns string

      the HTML

    • One answer of the search, drawn: a refusal, nobody, or the people with a button each that names them. Every value is escaped.

      Parameters

      • q: string

        the text asked for

      • answer: any

        { status, json }

      • t: any

        the translator

      Returns string

      the HTML

    • The search's box: a form of its own, sent by the wiring below and never to a portal path, and the place its answers are drawn.

      Parameters

      • t: any

        the translator

      Returns string

      the HTML

    • Wires the search on a drawn page, when the page has one: a keystroke waits for the idle time, Enter asks at once, and the form never reaches the portal's own form handling.

      Parameters

      • doc: any

        the document

      • win: any

        the window, for its timers

      • ask: (path: string) => Promise<any>

        asks the operation for a text ({ status, json }, or null)

      • t: any

        the translator

      Returns DelegateSearch

      the search, or null where the page has none