-
Notifications
You must be signed in to change notification settings - Fork 11
GuidanceWrapper
Daniel Torren Peraire edited this page Aug 20, 2020
·
1 revision
Component used to manage the creation and display of correct guidance modals of a given branch.
A non interactive component. Created by the guidanceSystem.
-
guidanceInput
- Array, one of the branch_data arrays from guidance_branch_list.
- Reacts to several events on the guidance bus:
prev-guidance
,next-guidance
. These determine whether which buttons to include in the guidanceModal depending on the position of the guidanceModal object within the branch_data array.
-
indexModal:0
used to keep track of the index within the branch_data array -
currentPrevButton:false
current state of the previous button used to input into the guidanceModal -
currentNextButton:true
current state of the next button used to input into the guidanceModal
-
progressCount
returns a string with the progression through branch_data array -
returnGuidanceItem
returns the correct information(object) from branch_data based off indexModal.