HeaderBlock
init
Creates an HeaderBlock
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
text |
| true | The text of the header. Maximum length of 150 characters. | |
callback |
| false |
| An optional callback to configure the new |
Return: The HeaderBlock
instance.
id
Sets a custom identifier for the HeaderBlock
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
id |
| true | The custom identifier for the |
Return: The HeaderBlock
instance.
getMemento
Converts the HeaderBlock
instance to a serializable format.
Name | Type | Required | Default | Description |
---|---|---|---|---|
No arguments |
Return: (struct
) A struct representing this HeaderBlock
instance.
Last updated