iya-sts
    Preparing search index...

    What the six description pages share. A static utility class.

    Index
    • A value as code.

      Parameters

      • value: unknown

        anything

      Returns string

      <code>…</code>, escaped

    • Values as a run of code, joined.

      Parameters

      • values: unknown[]

        the values

      • Optionaljoiner: string

        between two, as markup (', ' by default)

      Returns string

      the markup

    • Escapes text for HTML, as Html.esc() does.

      Parameters

      • value: unknown

        anything

      Returns string

      the escaped text

    • The ways on at a page's foot: links joined by a middle dot.

      Parameters

      • links: Link[]

        the links

      Returns string

      <p class="sub">

    • A section's heading.

      Parameters

      • text: string

        the heading, as markup

      Returns string

      <h2>

    • A link.

      Parameters

      • href: string

        where it goes, as text

      • label: string

        its label, as markup

      Returns string

      <a href>

    • A message whose sentence holds links, by name.

      Parameters

      • t: any

        the translator

      • key: string

        namespace.key

      • text: any

        the parameters drawn as text

      • links: { [name: string]: Link }

        each link by its placeholder's name

      Returns string

      the message as HTML

    • A list of MARKUP.

      Parameters

      • items: string[]

        each item, as markup

      Returns string

      <ul>

    • A paragraph, of a class or none.

      Parameters

      • body: string

        the paragraph, as markup

      • Optionalcls: string

        its class: sub, note, warn, meta or none

      Returns string

      <p>

    • A message whose sentence holds markup the translator cannot carry: a link, or a run of <code> built from a list. text parameters are escaped by the translator as always; each raw one is put in where its placeholder is, as the markup it is.

      Parameters

      • t: any

        the translator

      • key: string

        namespace.key

      • text: any

        the parameters drawn as text

      • raw: any

        the parameters drawn as markup

      Returns string

      the message as HTML

    • A table.

      Parameters

      • heads: string[]

        the header cells, as markup

      • rows: string[][]

        each row's cells, as markup

      • Optionalempty: string

        the one row drawn when there are none, as markup

      Returns string

      <table>

    • A list of TEXT, each item escaped: a description document's lines.

      Parameters

      • items: unknown

        the lines

      Returns string

      <ul>