Skip to content

<RendererModule> ​

<RendererModule> is a renderer utility component used inside custom renderer templates.

Props ​

PropTypeDefaultDescription
nodeIdString""Parent scene or module ID
withContainerBooleantrueWhether to wrap children in a container

Slots ​

SlotDescription
defaultOptional content rendered before child modules

Example ​

vue
<template>
    <div class="page-container">
        <RendererModule :nodeId="currentSceneId" />
    </div>
</template>

Notes ​

  • Used inside renderer templates registered by createPtah({ renderer })
  • In designer mode the container receives drop attributes automatically