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

Function shouldUseCloseWatcher

core/src/utils/hardware-back-button.ts:34–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 * before the config is set.
33 */
34export const shouldUseCloseWatcher = () =>
35 config.get('experimentalCloseWatcher', false) && win !== undefined && 'CloseWatcher' in win;
36
37/**
38 * When hardwareBackButton: false in config,

Callers 4

renderMethod · 0.90
componentDidLoadMethod · 0.90
connectListenersFunction · 0.90
startHardwareBackButtonFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected