new_element
Returns a default element node for a type in the sparse authoring shape: a fresh id, seeded styles for both breakpoints, and seeded specials.
Instructions
Returns a default element node for a type in the sparse authoring shape: a fresh id, seeded styles for both breakpoints, and seeded specials. properties, runtime, empty events and per-breakpoint config are omitted because the server fills them from factory defaults on validate and save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional properties.name override (layer label). | |
| type | Yes | Element type to create. |