<ParameterWidget>
INFO
<ParameterWidget> must be used inside <DesignerRoot>.
<ParameterWidget> renders property editors for the selected scene or module.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
type | "scene" | "module" | "scene" | Controls whether the panel edits the current scene or current module |
Slots
| Slot | Scope | Description |
|---|---|---|
#label | node | Custom label content for each schema node |
Example
vue
<template>
<ParameterWidget type="module" />
</template>How It Works
- Reads the current entity from
app.$state - Resolves schema from registered module or scene config
- Renders matching parameter components from
parameterComponents - Calls
designer.updateModule()ordesigner.updateScene()on change
