@equinor/videx-wellog
    Preparing search index...

    Class UIHelper

    Helper methods for wellog specific DOM queries

    Index

    Constructors

    Methods

    • Create a sample loader element for tracks. Requires track-loader-styles.scss or styles.css.

      Parameters

      • elm: HTMLElement

        Track HTML element

      • track: Track

        Track instance

      Returns void

    • Find and return the element of elements positioned at a given x-coordinate of its container element. NOTE: Requires elements to be within the same containing DOM element and stacked side-by-side horizontally.

      Parameters

      • elements: HTMLElement[]
      • xpos: number

      Returns HTMLElement

    • Find and return the element of elements positioned at a given y-coordinate of its container element. NOTE: Requires elements to be within the same containing DOM element and stacked top-by-down vertically.

      Parameters

      • elements: HTMLElement[]
      • ypos: number

      Returns HTMLElement