TableOfContents.bearing tableofcontents-bearing

[TableOfContents.|<containerId>_tableOfContents.]bearing=[fit-lateral|fit-vertical][, *autoHideDelay*]

fit-lateral|fit-vertical

Controls the direction of the drop-down panel appearance.

When set to fit-vertical, the component first shifts the base panel position to the bottom of its button and tries to roll out the panel either to the right or to the left from the base location. 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 in the right and left direction.

When set to fit-lateral, the component uses a similar logic, but shifts the base to the right first, trying down and up roll out directions. Then, it shifts the base to the left, trying down and up roll out directions.

autoHideDelay
Sets the delay in seconds for the drop-down auto-hide timer which hides the panel when a user is idle.

Properties section-55436ddd78b04f538dbb9a7a8463feae

Optional.

Default section-049d3f94c9794510906c6f81d6cc5485

fit-vertical,2

Example section-68ff51c4e2b740c995fc5109cc0063bd

bearing=fit-vertical,0.5

recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8