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
It would be useful if we could subtract a state from the end of another state. Currently we have:
var editCompletedState = new navigatorjs.NavigationState("todo/completed/edit/10/"); var otherState = new navigatorjs.NavigationState("todo"); var subtracted = editCompletedState.subtract(otherState); //Subtracted = "/completed/edit/10/"
It would be good if we can do something like:
var editCompletedState = new navigatorjs.NavigationState("todo/completed/edit/10/"); var otherState = new navigatorjs.NavigationState("edit/*"); var subtracted = editCompletedState.subtractFromEnd(otherState); //Subtracted = "/todo/completed/"
The text was updated successfully, but these errors were encountered:
Maybe we should support double wildcard states to inducate such thing? For example **/edit/*
**/edit/*
Sorry, something went wrong.
No branches or pull requests
It would be useful if we could subtract a state from the end of another state. Currently we have:
It would be good if we can do something like:
The text was updated successfully, but these errors were encountered: