Skip to content

charton API


charton API / @chart-on/ui / index / alignOf

Function: alignOf() ​

alignOf(item): "end" | "start"

Defined in: ui/src/toolbar-model.ts:71

The item's side: its align, else end for the view group and start for the rest.

Parameters ​

item ​

ToolbarLayoutItem

Returns ​

"end" | "start"