DividerBlock

init

Creates an DividerBlock instance.

Name
Type
Required
Default
Description

No arguments

Return: The DividerBlock instance.

id

Sets a custom identifier for the DividerBlock instance.

Name
Type
Required
Default
Description

id

string

true

The custom identifier for the DividerBlock instance.

Return: The DividerBlock instance.

getMemento

Converts the DividerBlock instance to a serializable format.

Name
Type
Required
Default
Description

No arguments

Return: (struct) A struct representing this DividerBlock instance.

{
    "type": "divider"
    "block_id": "optional"
}

Last updated