Show Menu
TOPICS×

FavoritesMenu.bearing

Specifies the direction of slide animation for the buttons container.
[FavoritesMenu.|<containerId>_favoritesMenu.]bearing=up|down|left|right|fit-vertical|fit-lateral
up|down|left|right|fit-vertical|fit-lateral
When set to up , down , left , or right , the panel rolls out in specified direction without an additional bounds check, which results in panel clipping by an outside container.
When set to fit-vertical , the component first shifts the base panel position to the bottom of the Favorites menu and tries to roll out the panel in one of the following directions from such base location: bottom, right, left. With each attempt the component checks if the panel is clipped by an outside container. If all attempts fail, the component tries to shift the base panel position to the top and repeat roll out attempts from a top, right, and left direction.
When set to fit-lateral , the component uses a similar logic. The base is shifted to the right first, trying right, down, and up roll out directions. Then, it shifts the base to the left, trying left, down and up roll out directions.

Properties

Optional.

Default

fit-vertical

Example

bearing=left