Skip to main content

Base

This module holds miscellaneous static functions.

autoAlignDropDowns(inputElement, dropdownContainer, applyWidth, view, callback)

Align drop-downs either top or bottom for the inputElement based on available space.

Parameters

inputElement: The element object relative to which the drop-dwon will be shown

dropdownContainer: The drop-down container element object

applyWidth: True for applying inputElement width to drop-down elements, false for applying custom specific width

view: inputElement view

callback: Is used to perform any actions in the view after form scroll / window scroll