Interface: AnyDropRenderView<C>
Defined in: ui/src/types.ts:88
A mounted custom view.
Type Parameters
| Type Parameter |
|---|
C |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
el? | HTMLElement | null | Replaces the default content. Omit (or null) to keep the default content and only get update/destroy. | ui/src/types.ts:90 |
Methods
destroy()?
ts
destroy?(): void;Defined in: ui/src/types.ts:94
Called once before the element leaves the DOM. Undo decorations and unmount components here.
Returns
void
update()?
ts
update?(ctx): void;Defined in: ui/src/types.ts:92
The item changed: update el in place.
Parameters
| Parameter | Type |
|---|---|
ctx | C |
Returns
void