UNPKG

ldx-widgets

Version:

widgets

50 lines (36 loc) 879 B
[<< Component Index](../README.md) # [Chevron](https://github.com/tmfi/ldx-web-utilities/blob/develop/src/components/chevron.coffee) ### onClick **`Function`** _Optional_ handle click events --- ### positionClass **`String`** _Optional_ add a CSS class to adjust element positioning --- ### invertOnClick **`Boolean`** _Optional_ determines whether or not the element is inverted on click event --- ### defaultOrientation **`String`** _Optional_ Accepts values `up`, `left`, `down`, or `right` to set the default direction --- ### isInverted **`Boolean`** _Optional_ determines whether or not the chevron is in an inverted state --- ### animationDuration **`Number`** _Optional_ duration in milliseconds determining how long the animation takes to complete --- ### color **`String`** _Optional_ hex/rgba color to fill the chevron