Constructor
new FragmentEntryLinkContent()
Members
(static, non-null) STATE :Object
State definition.
Type:
- Object
- Source:
(non-null) fragmentEntryLinkId :string
Fragment entry link ID.
Type:
- string
- Default Value:
- undefined
- Source:
Methods
_createEditables()
Creates instances of a fragment editable field for each editable.
- Source:
_destroyEditables()
Destroys existing fragment editable field instances.
- Source:
disposed()
- Source:
prepareStateForRender()
- Source:
rendered()
- Source:
shouldUpdate() → {boolean}
- Source:
Returns:
- Type
- boolean
syncContent(newContent, prevContent)
Renders the content if it is changed.
Parameters:
Name | Type | Description |
---|---|---|
newContent |
string | The new content to render. |
prevContent |
string |
- Source:
syncEditableValues(newEditableValues, oldEditableValues)
Handles changes to editable values.
Parameters:
Name | Type | Description |
---|---|---|
newEditableValues |
object | The updated values. |
oldEditableValues |
object | The original values. |
- Source:
syncStore()
Propagates the store to editable fields when it's loaded.