API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceButtonOptions
@codexo/exojs / ui / stable
15
props
0
methods
0
events
Import
import { ButtonOptions } from '@codexo/exojs'Properties15
border?: Partial<NineSliceInsetsSource-space or destination-space per-edge insets.> | numberDestination border widths for every textured skin entry; defaults to slices.
Fill color in the normal state.
cornerRadius?: numberPaint textured skin entries flat with this fit instead of slicing them.
fontSize?: numberheight?: numberlabel?: stringThe background per state, each stated as a colour, a texture, a region or a full descriptor. States left out fall back to the theme's button skin.
slices?: Partial<NineSliceInsetsSource-space or destination-space per-edge insets.> | numberSource-texture slice widths for every textured skin entry; defaults to a third per axis.
width?: numberSource