outsystems-ui - v3.0.0
    Preparing search index...

    Class DomAbstract

    Index
    • get Attribute(): typeof AttributeManipulation

      Getter of the class that helps to manipulate the HTML attributes.

      Returns typeof AttributeManipulation

    • get Styles(): typeof StyleManipulation

      Getter of the class that helps to manipulate the HTML styles and classes.

      Returns typeof StyleManipulation

    • Function that performs a querySelector of a given class in a given element.

      Parameters

      • element: HTMLElement | Document

        Element to be queried.

      • cssClass: string

        CSS class to test its value.

      Returns HTMLElement

      Return the HTMLElement found, of if not undefined.

    • Method that makes disables a given element.

      Parameters

      • element: HTMLElement

        Element to inspect or update

      Returns void

    • Method that enables a given element.

      Parameters

      • element: HTMLElement

        Element to inspect or update

      Returns void

    • Responsable for finding a DOM Element by its Id.

      Parameters

      • id: string

        Id of the element to be returned.

      Returns HTMLElement

      The respective DOM Element.

    • Responsable for finding a DOM Element by its name attribute. That is commonly used to store the uniqueID generated by the framework.

      Parameters

      • uniqueId: string

        uniqueId generated by the framework.

      Returns HTMLElement

      The respective DOM Element.

    • Method to get the list of focusable elements

      Parameters

      • element: HTMLElement

        Element to be queried.

      • OptionalincludeTabIndexHidden: boolean = false

        Include elements with tabindex -1

      Returns HTMLElement[]

      List of focusable elements

    • Method to check if element is inside a Popup widget

      Parameters

      • element: HTMLElement

        Element to inspect or update

      Returns boolean

    • Moves a given HTML element to target position.

      Parameters

      • element: HTMLElement

        Element to be moved.

      • target: HTMLElement

        Location to where the Element is to be moved.

      Returns void

    • Method that will help on setting the value of an input and trigger that change to the platform in order to update it's assigned variable, otherwise platform value do not get updated if/when only a value attribute get set!

      Parameters

      • inputElem: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement

        Element where the value will be assigned!

      • value: string

        Value to be assigned

      Returns void

    • Function that performs a querySelector of a given html tag in a given element.

      Parameters

      • element: HTMLElement

        Element to be queried.

      • htmlTag: string

        HTML element to be searched for.

      Returns HTMLElement

    • Function that performs a querySelectorAll of a given html tag in a given element.

      Parameters

      • element: HTMLElement | Document

        Element to be queried.

      • htmlTag: string

        HTML element to be searched for.

      Returns HTMLElement[]