public interface DropDownPosition
An interface to position the dropdown relative to its target element
| Modifier and Type | Field and Description |
|---|---|
static DropDownPosition |
BOTTOM
Positions the menu on the bottom of its target element
|
static DropDownPosition |
BOTTOM_LEFT
Positions the menu on the bottom left of its target element
|
static DropDownPosition |
BOTTOM_RIGHT
Positions the menu on the bottom right of its target element
|
static DropDownPosition |
TOP
Positions the menu on the top of its target element
|
static DropDownPosition |
TOP_LEFT
Positions the menu on the top left of its target element
|
static DropDownPosition |
TOP_RIGHT
Positions the menu on the top right of its target element
|
| Modifier and Type | Method and Description |
|---|---|
void |
position(elemental2.dom.HTMLElement actionsMenu,
elemental2.dom.HTMLElement target)
Positions the menu based on its target
|
static final DropDownPosition TOP
static final DropDownPosition TOP_RIGHT
static final DropDownPosition TOP_LEFT
static final DropDownPosition BOTTOM
static final DropDownPosition BOTTOM_LEFT
static final DropDownPosition BOTTOM_RIGHT
Copyright © 2019–2022 Dominokit. All rights reserved.