cell
Creates a preset UICell constructor using the provided options and content.
static
cell(preset: ui.PresetType<UICell>, content?: ViewClass): ViewClass<UICell> cell(content: ViewClass): ViewClass<UICell>
Parameters
- preset — The properties, bindings, and event handlers that will be preset on each instance of the resulting class (optional)
- content — The content that will be added to each instance of the resulting class
Return value
A new class that extends UICell
Related
- uiAn object with functions for creating UI components and other resources.