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

Method tap

packages/core/ui/button/index.ios.ts:279–287  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

277 }
278
279 public tap(args) {
280 // _owner is a {N} view which could get destroyed when a tap initiates (protect!)
281 if (this._owner) {
282 const owner = this._owner?.deref();
283 if (owner) {
284 owner._emit(ButtonBase.tapEvent);
285 }
286 }
287 }
288
289 public static ObjCExposedMethods = {
290 tap: { returns: interop.types.void, params: [interop.types.id] },

Callers 10

addVirtualModuleFunction · 0.45
angular.tsFile · 0.45
vue.tsFile · 0.45
svelte.tsFile · 0.45
react.tsFile · 0.45
applyMethod · 0.45
base.spec.tsFile · 0.45
webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45
webpack.config.jsFile · 0.45

Calls 1

_emitMethod · 0.80

Tested by

no test coverage detected