ui
An object with functions for creating UI components and other resources.
ui: Readonly<ui>
Type Members
- type ui.PresetType staticType definition for a UI component preset object.
Static Members
- jsx(f, presets, …rest) staticJSX support for UI components.
- cell(preset, content?) staticCreates a preset UICell constructor using the provided options and content.
- column(preset, …content) staticCreates a preset UIColumn constructor using the provided options and content.
- row(preset, …content) staticCreates a preset UIRow constructor using the provided options and content.
- form(preset, …content) staticCreates a preset UIForm constructor using the provided options and content.
- scroll(preset, …content) staticCreates a preset UIScrollContainer constructor using the provided options and content.
- animatedCell(preset, content?) staticCreates a preset UIAnimatedCell constructor using the provided options and content.
- label(preset, text?, style?) staticCreates a preset UILabel constructor using the provided options.
- button(preset, label?, onClick?, style?) staticCreates a preset UIButton constructor using the provided options.
- textField(preset) staticCreates a preset UITextField constructor using the provided options.
- toggle(preset) staticCreates a preset UIToggle constructor using the provided options.
- separator(preset?) staticCreates a preset UISeparator constructor using the provided options.
- spacer(preset) staticCreates a preset UISpacer constructor using the provided options.
- image(preset) staticCreates a preset UIImage constructor using the provided options.
- renderView(preset) staticCreates a preset UIViewRenderer constructor using the provided options.
- animate(preset, content) staticCreates a preset UIAnimationView constructor using the provided options.
- conditional(preset, content) staticCreates a preset UIConditionalView constructor using the provided options.
- list(preset, ItemBody, ContainerBody?, BookEnd?) staticCreates a preset UIListView constructor using the provided options.
- color staticA function that returns a new UIColor instance for the specified theme color.
- icon staticA function that returns a new icon resource object for the specified icon.
- animation staticA function that returns an animation defined by the current theme.
- effect staticA function that returns a (cell) output effect defined by the current theme.
- style staticA function that returns a new or existing UIStyle (base) class for the specified style.