Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed May 17, 2022
1 parent d2711df commit a5dfbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/accessing-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ weight: 4

In any of your step components you can access the state of all other steps in the wizard. You can call any of these methods in your step component

- `allStepsState()`: returns an array containing the values of all public properties of all steps in the wizard. The key of of the items in the array is the name of the step.
- `allStepsState()`: returns an array containing the values of all public properties of all steps in the wizard. The key of the items in the array is the name of the step. Optionally, you can pass is a key name to let the function only return the value for that key.
- `stateForStep($stepName)`: returns the values of all public properties of the given step.
- `currentStepState`: returns an array containing the values of all public properties of the current step. The result is almost identical to Livewire's native `all()` method, but with some internal properties filtered out.

0 comments on commit a5dfbce

Please sign in to comment.