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

Method constructor

packages/core/ui/gestures/index.android.ts:698–703  ·  view source on GitHub ↗
(
		id: number,
		private event: android.view.MotionEvent,
	)

Source from the content-addressed store, hash-verified

696 public ios: any = undefined;
697
698 constructor(
699 id: number,
700 private event: android.view.MotionEvent,
701 ) {
702 this.android = id;
703 }
704
705 getX(): number {
706 return this.event.getX(this.android) / layout.getDisplayDensity();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected