You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be a good feature to add state aliases or indexes.
Like making it possible to do the following:
stateHelperProvider
.state({
name: 'home',
// ...
abstract: true,
index: 'welcome', // then it will use home.welcome as index
children: [
{
name: 'welcome',
// ...
}
]
})
Or
stateHelperProvider
.state({
name: 'home',
// ...
abstract: true,
children: [
{
name: 'welcome',
alias: 'index', // since a child state name 'index' of a abstract state will be the index, this should be able to be the index this way around
// ...
}
]
})
Why, because maybe you don't want to have states called like something.index.index.index.
Just because you have something which can include many childs, but need a index.
And as well for the first and second index.
The text was updated successfully, but these errors were encountered:
Would it be a good feature to add state aliases or indexes.
Like making it possible to do the following:
Or
Why, because maybe you don't want to have states called like
something.index.index.index
.Just because you have
something
which can include many childs, but need a index.And as well for the first and second
index
.The text was updated successfully, but these errors were encountered: