Skip to content

Kiln API / kiln / BarOptions

Interface: BarOptions ​

Extends ​

Properties ​

PropertyTypeDescriptionInherited from
anchor?AnchorDefault 'top-left'.UiOptions.anchor
size?numberFont size in CSS pixels. Default 20 (buttons 22).UiOptions.size
color?stringCSS colour of the text (or a bar's fill). Default '#fff' (bars '#4ade80').UiOptions.color
order?numberStacking order inside the anchor, low first. Default: creation order.UiOptions.order
visible?booleanfalse hides the element but keeps it. Default true.UiOptions.visible
label?stringText drawn next to the bar.-
width?numberBar width in CSS pixels. Default 200.-