(args)
| 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] }, |
no test coverage detected