Break
Class: Chunk OboNode Full Name: ObojoboDraft.Chunks.BreakInserts a break in the document similar to a <hr>
tag in HTML.
Properties
Property | Required | Type | Description |
---|---|---|---|
width | no | String | Default: normal . Must be either "normal" or "large" . Specifies if width of the break. |
Supported Trigger Types
Action Type | Description |
---|---|
onMount | Fired when a node is added to the DOM |
onUnmount | Fired when a node is removed from the DOM |
Required Children
None
Variables Registered
None
Example
JSON
{
"type": "ObojoboDraft.Chunks.Break",
"id": "...",
"content": {
"width": "large"
}
}
XML
<Break width="large" />
OboHTML
<hr width="large"/>