MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / register

Function register

core/src/utils/hardware-back-button.ts:65–67  ·  view source on GitHub ↗
(priority: number, handler: Handler)

Source from the content-addressed store, hash-verified

63 bubbles: false,
64 detail: {
65 register(priority: number, handler: Handler) {
66 handlers.push({ priority, handler, id: index++ });
67 },
68 },
69 });
70 doc.dispatchEvent(ev);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected