Trapezoid
Props
animationBeginnumberoptional
DEFAULT:
0animationDurationnumberoptional
DEFAULT:
1500animationEasing"ease" | "ease-in" | "ease-in-out" | "ease-out" | "linear"optional
DEFAULT:
"ease"classNamestringoptional
heightnumber | stringoptional
Height of the trapezoid in pixels.
DEFAULT:
0isUpdateAnimationActivebooleanoptional
If set to true, trapezoid will update and render with a gradual fade-in animation from left to right.
DEFAULT:
falselowerWidthnumberoptional
Width of the lower horizontal side of the trapezoid in pixels.
DEFAULT:
0upperWidthnumberoptional
Width of the upper horizontal side of the trapezoid in pixels.
DEFAULT:
0xnumber | stringoptional
The x-coordinate of top left point of the trapezoid.
DEFAULT:
0ynumber | stringoptional
The y-coordinate of top left point of the trapezoid.
DEFAULT:
0onClickReact.MouseEventHandler<T>optional
The customized event handler of click on the trapezoid
onMouseDownReact.MouseEventHandler<T>optional
The customized event handler of mousedown on the trapezoid
onMouseEnterReact.MouseEventHandler<T>optional
The customized event handler of mouseenter on the trapezoid
onMouseLeaveReact.MouseEventHandler<T>optional
The customized event handler of mouseleave on the trapezoid
onMouseMoveReact.MouseEventHandler<T>optional
The customized event handler of mousemove on the trapezoid
onMouseOutReact.MouseEventHandler<T>optional
The customized event handler of mouseout on the trapezoid
onMouseOverReact.MouseEventHandler<T>optional
The customized event handler of mouseover on the trapezoid
onMouseUpReact.MouseEventHandler<T>optional
The customized event handler of mouseup on the trapezoid