publish function
Called by `model`: the element's rig, or undefined when it goes.
import { publish } from '@dioramajs/diorama/model/rig'function publish(element: Element, rig: Rig | undefined): voidParameters
| Name | Type | Description |
|---|---|---|
element | Element | |
rig | Rig | undefined |
Also exported from @dioramajs/model/rig.
Defined in packages/model/src/rig.ts.