We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you inject nested state value to a behavior? (ex: $states.get([‘a’, ‘b’] from {states: { a: { b: 1 } } })
$states.get([‘a’, ‘b’]
{states: { a: { b: 1 } } }
@Imti on Slack:
We don't have a good way to do that yet. You'll have to inject a and reach into b to use it from within a behavior
a
b
@matthewtoast on Slack:
i would advise sticking to the flattened states for now
The text was updated successfully, but these errors were encountered:
This is mostly a question of what API would be appropriate. We could:
function(foo.bar.baz){}
function(foo__bar__baz){}
function(foo$bar$baz){}
function(){}.triggeredBy('foo.bar.baz')
Or something else?
Sorry, something went wrong.
No branches or pull requests
How do you inject nested state value to a behavior? (ex:
$states.get([‘a’, ‘b’]
from{states: { a: { b: 1 } } }
)@Imti on Slack:
@matthewtoast on Slack:
The text was updated successfully, but these errors were encountered: