T - The type of the field valueV - The type of the single option valueS - The type of the field extending from this classpublic static class AbstractSelect.PopupPositionTopDown<T,V,S extends AbstractSelect<T,V,S>> extends Object implements DropDownPosition
DropDownPosition that opens the select dropdown menu up or down based on the largest
space available, the menu will show where the is more spaceBOTTOM, BOTTOM_LEFT, BOTTOM_RIGHT, TOP, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
PopupPositionTopDown(AbstractSelect<T,V,S> select) |
| Modifier and Type | Method and Description |
|---|---|
void |
position(elemental2.dom.HTMLElement popup,
elemental2.dom.HTMLElement target)
Positions the menu based on its target
|
public PopupPositionTopDown(AbstractSelect<T,V,S> select)
public void position(elemental2.dom.HTMLElement popup,
elemental2.dom.HTMLElement target)
DropDownPositionposition in interface DropDownPositionpopup - the menutarget - the target elementCopyright © 2019–2022 Dominokit. All rights reserved.