Native model
portal_component
Declare a named portal_component value and reference it as portal_component.your_name. Models have no separate platform identity or lifecycle.
Topics: Surfaces
Fields
One component: its props and slots, template, CSS and server Lua.
contractOptionalnameRequiredThe component's name, used as ui:name in templates; a bundled name replaces that component.
- Minimum length
1
serverOptionalstyleOptionaltemplateRequiredOnly the fields listed here are accepted.