Exposes a type of VisualElement to UXML and UI Builder
Parameter | Description |
---|---|
uxmlName | Provides a custom name for the element. |
Declares a custom control with a custom element name.
Parameter | Description |
---|---|
uxmlName | The name to use for the element in UXML, such as `my-custom-element`. |
supportedTypes | An array of supported child element types. This can be passed as individual <c>Type</c> arguments. |
Declares a custom control with a custom element name and a list of supported child types.