iya-sts
    Preparing search index...
    Index
    • Takes what could execute out of a parsed tree.

      Parameters

      • root: any

        the tree

      Returns void

    • Puts markup at the start or the end of an element.

      Parameters

      • element: any

        the element

      • position: string

        afterbegin or beforeend

      • markup: unknown

        the markup

      Returns void

    • Names where the page's realm prefix is read from, for every draw after this call. A page has one runtime, and its base (WebPage) calls this.

      Parameters

      • source: () => string

        answers the prefix, /realm/acme, or '' in the default realm

      Returns void

    • Prefixes every root-relative href, action, formaction and src with a realm's path prefix, except one that already carries it: common/app.js's withRealmLinks(), in the browser.

      Parameters

      • html: string

        the markup

      • prefix: string

        the realm's path prefix, or '' for the default realm

      Returns string

      the markup with its links in the realm

    • Replaces an element's content with markup, once it is safe to adopt.

      Parameters

      • element: any

        the element

      • markup: unknown

        the markup

      Returns void

    • Replaces an element, itself included, with markup.

      Parameters

      • element: any

        the element

      • markup: unknown

        the markup

      Returns void

    • Sets an element's content to text, never markup.

      Parameters

      • element: any

        the element

      • value: unknown

        the text

      Returns void