@laserware/dominator
    Preparing search index...

    Function getInputWidth

    • Gets the ideal width of the input element (in pixels) that based on its value or placeholder using the measureText approach.

      Parameters

      • input: HTMLInputElement

        The HTMLInputElement for which to get width.

      Returns number

      Ideal width for the input.