Last active
August 13, 2020 19:03
-
-
Save joshpitzalis/70940839866d33ba2af5437cdc4ed5b4 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const readingListMachine = Machine({ | |
| id: 'interview_Panel', | |
| initial: 'interview', | |
| type: 'parallel', | |
| states: { | |
| filterState: { | |
| on: { | |
| A_FILTER_DELETED: 'filterState', | |
| } | |
| }, | |
| idle:{ | |
| on:{ | |
| B_SELECTED: 'selected', | |
| }}, | |
| selected:{ | |
| initial: 'active', | |
| states:{ | |
| active: { | |
| on:{ | |
| C_ALL_SELECTED: 'allSelected', | |
| D_PRINTED_MULTIPLE:'loading', | |
| }}, | |
| loading:{ | |
| on: { | |
| E_COMPLETED:'active', | |
| F_CANCELLED: 'active' | |
| } | |
| }, | |
| allSelected: { | |
| on: { | |
| G_UNSELECTED_ALL: 'active' | |
| }} | |
| } | |
| }} | |
| }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment