MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / on

Method on

packages/core/ui/page/page-common.ts:169–169  ·  view source on GitHub ↗
(eventNames: string, callback: (data: EventData) => void, thisArg?: any)

Source from the content-addressed store, hash-verified

167
168export interface PageBase {
169 on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): void;
170 on(event: 'navigatingTo', callback: (args: NavigatedData) => void, thisArg?: any): void;
171 on(event: 'navigatedTo', callback: (args: NavigatedData) => void, thisArg?: any): void;
172 on(event: 'navigatingFrom', callback: (args: NavigatedData) => void, thisArg?: any): void;

Callers 15

traverseInputDirFunction · 0.65
run-automated.jsFile · 0.65
constructorMethod · 0.65
bindFunction · 0.65
_parentChangedFunction · 0.65
_showNativeModalViewMethod · 0.65
_showNativeModalViewMethod · 0.65
constructorMethod · 0.65
bindMethod · 0.65
_getExpressionValueMethod · 0.65

Implementers 2

Observablepackages/core/data/observable/index.ts
SharedTransitionObservablepackages/core/ui/transition/shared-tra

Calls

no outgoing calls

Tested by 3

testFunction · 0.52
testFunction · 0.52
testFunction · 0.52