outsystems-ui - v2.30.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

      OSFramework.Helper.Dom

    • get Styles(): typeof StyleManipulation

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

      Returns typeof StyleManipulation

      OSFramework.Helper.Dom

    • 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

      {(HTMLElement | undefined)} Return the HTMLElement found, of if not undefined.

      OSFramework.Helper.Dom

    • Method that makes disables a given element.

      Parameters

      • element: HTMLElement

      Returns void

      OSFramework.Helper.Dom

    • Method that enables a given element.

      Parameters

      • element: HTMLElement

      Returns void

      OSFramework.Helper.Dom

    • Generate a Random String that could be assigned as a pattern UniqueId

      Returns string

      {string}

    • Responsable for finding a DOM Element by its Id.

      Parameters

      • id: string

        Id of the element to be returned.

      Returns HTMLElement

      {HTMLElement} The respective DOM Element.

      OSFramework.Helper.Dom

    • 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

      {HTMLElement} The respective DOM Element.

      OSFramework.Helper.Dom

    • 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[]

      {HTMLElement[]} List of focusable elements

      Dom

    • Method to check if element is inside a Popup widget

      Parameters

      • element: HTMLElement

      Returns boolean

      {boolean}

      Dom

    • 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

      OSFramework.Helper.Dom

    • 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

      OSFramework.Helper.Dom

    • 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

      {(HTMLElement | undefined)}

      OSFramework.Helper.Dom

    • 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[]

      {(HTMLElement | undefined)}

      OSFramework.Helper.Dom