Skip to content

<ParameterWidget>

INFO

<ParameterWidget> must be used inside <DesignerRoot>.

<ParameterWidget> renders property editors for the selected scene or module.

Props

PropTypeDefaultDescription
type"scene" | "module""scene"Controls whether the panel edits the current scene or current module

Slots

SlotScopeDescription
#labelnodeCustom label content for each schema node

Example

vue
<template>
    <ParameterWidget type="module" />
</template>

How It Works

  1. Reads the current entity from app.$state
  2. Resolves schema from registered module or scene config
  3. Renders matching parameter components from parameterComponents
  4. Calls designer.updateModule() or designer.updateScene() on change