docs($location): hashPrefix, html5Mode are methods

Closes #7915