CodeMeltedDEV
    Preparing search index...

    Function ui_document

    • Provides the ability to interact with the loaded browser runtime HTML document.

      Parameters

      • params: { name: string; request: string }

        The named parameters

        • name: string

          The name of the element to perform the action.

        • request: string

          The request to carry out with the document.

      Returns string | HTMLElement | HTMLElement[] | null

      // To query for an element within the document. Not being found will fire
      // a CModuleError so no need to check for null as it is expected you should
      // know how to name your stuff. This will help in quickly finding quirks in
      // your built UI.
      const el = ui_document({
      request: DOCUMENT_REQUEST.ElementById,
      name: "id_value"
      });