public static class AbstractSuggestBox.PopupPositionTopDown extends Object implements DropDownPosition
DropDownPosition that opens the suggestion 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(AbstractSuggestBox<?,?> suggestBox) |
| 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(AbstractSuggestBox<?,?> suggestBox)
public void position(elemental2.dom.HTMLElement popup,
elemental2.dom.HTMLElement target)
position in interface DropDownPositionpopup - the menutarget - the target elementCopyright © 2019–2022 Dominokit. All rights reserved.