MCPcopy Create free account
hub / github.com/ember-learn/ember-api-docs / RouterWithHashSupport

Class RouterWithHashSupport

app/utils/url-hash-polyfill.js:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16export function withHashSupport(AppRouter) {
17 return class RouterWithHashSupport extends AppRouter {
18 constructor(...args) {
19 super(...args);
20
21 setupHashSupport(this);
22 }
23 };
24}
25
26export function scrollToHash(hash) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected