Constructor
new SegmentsExperienceSelector()
- Source:
Methods
_editSegmentsExperience(segmentsExperienceIdnon-null, namenon-null)
Parameters:
Name |
Type |
Description |
segmentsExperienceId |
string
|
|
name |
string
|
|
- Source:
_experiencesErrorHandler(objError)
Updates the error status for the experiences
Parameters:
Name |
Type |
Description |
objError |
object
|
Properties
Name |
Type |
Attributes |
Description |
deletion |
boolean
|
<optional>
|
True if experience deletion error has ocurred |
creation |
boolean
|
<optional>
|
True if experience creation error has ocurred |
edition |
boolean
|
<optional>
|
True if experience edition error has ocurred |
|
- Source:
_experiencesModalStateHandler(newStateopt)
Parameters:
Name |
Type |
Attributes |
Default |
Description |
newState |
object
|
<optional>
|
{}
|
Properties
Name |
Type |
Attributes |
Description |
creation |
boolean
|
<optional>
|
The status of the experience creation modal |
edition |
boolean
|
<optional>
|
The status of the experience edition modal |
|
- Source:
Parameters:
Name |
Type |
Description |
name |
string
|
|
segmentsEntryId |
string
|
|
- Source:
Triggers update priority store action
Parameters:
Name |
Type |
Description |
event |
Event
|
|
- Source:
Triggers update priority store action
Parameters:
Name |
Type |
Description |
event |
Event
|
|
- Source:
- Source:
_updatePriority(priorityButton, focusFallbackElement, payload)
Dispatchs priority update actions
and handles focus change when necessary
Parameters:
Name |
Type |
Description |
priorityButton |
HTMLButtonElement
|
|
focusFallbackElement |
HTMLElement
|
|
payload |
object
|
Properties
Name |
Type |
Description |
direction |
'down'
|
'up'
|
|
priority |
number
|
|
segmentsExperienceId |
string
|
|
|
- Source:
prepareStateForRender()
Transforms `availableSegmentsEntries` and `availableSegmentsExperiences` objects into arrays
Adds `activeSegmentsExperienceName` to the component state
- Source:
syncClassPK(next)
The classPK only changes when the component is connected for the first time
with the store. This updates `this.modalStates` with previous persisted states
if neccesary
Parameters:
Name |
Type |
Description |
next |
string
|
|
- Source: