Appearance
Kiln API / kiln / ButtonOptions
Interface: ButtonOptions
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
anchor? | Anchor | Default 'top-left'. | UiOptions.anchor |
size? | number | Font size in CSS pixels. Default 20 (buttons 22). | UiOptions.size |
color? | string | CSS colour of the text (or a bar's fill). Default '#fff' (bars '#4ade80'). | UiOptions.color |
order? | number | Stacking order inside the anchor, low first. Default: creation order. | UiOptions.order |
visible? | boolean | false hides the element but keeps it. Default true. | UiOptions.visible |
action? | string | An input action that also clicks this button while it is visible ('jump', 'pause'...). | - |