MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _executeCallback

Function _executeCallback

packages/core/ui/gestures/index.android.ts:442–446  ·  view source on GitHub ↗
(observer: GesturesObserver, args: GestureEventData)

Source from the content-addressed store, hash-verified

440}
441
442function _executeCallback(observer: GesturesObserver, args: GestureEventData) {
443 if (observer && observer.callback) {
444 observer.callback.call(observer.context, args);
445 }
446}
447
448class PinchGestureEventData implements PinchGestureEventData {
449 public type = GestureTypes.pinch;

Callers 12

onLongPressMethod · 0.85
_handleSingleTapMethod · 0.85
_handleDoubleTapMethod · 0.85
onScaleBeginMethod · 0.85
onScaleMethod · 0.85
onScaleEndMethod · 0.85
onFlingMethod · 0.85
androidOnTouchEventMethod · 0.85
trackStopMethod · 0.85
trackStartMethod · 0.85
trackChangeMethod · 0.85
executeCallbackMethod · 0.85

Calls 1

callMethod · 0.45

Tested by

no test coverage detected