Skip to content

Kiln API / kiln / ButtonOptions

Interface: ButtonOptions ​

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
action?stringAn input action that also clicks this button while it is visible ('jump', 'pause'...).-