onHashChange() — vue Function Reference
Architecture documentation for the onHashChange() function in app.js from the vue codebase.
Entity Profile
Relationship Graph
Source Code
examples/classic/todomvc/app.js lines 143–151
function onHashChange () {
var visibility = window.location.hash.replace(/#\/?/, '')
if (filters[visibility]) {
app.visibility = visibility
} else {
window.location.hash = ''
app.visibility = 'all'
}
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free