Rotates the specified component by 90 degrees.
By default it rotates to the right, but you can specify the direction in the payload
property.
Name | Type | Description |
---|---|---|
type * | "action.rotate" | Set component type. |
payload | string | Sets the direction of rotation:
|
view | ref | Points to the component to perform the action with. |
Last updated: June 14, 2023