mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(monorepo): build with esm modules (#8729)
fixes https://github.com/NativeScript/NativeScript/issues/8739
This commit is contained in:
committed by
Nathan Walker
parent
5658e638d5
commit
fc64fc3ed9
@@ -25,6 +25,7 @@ function initializeClickListener(): void {
|
||||
return;
|
||||
}
|
||||
|
||||
@NativeClass
|
||||
@Interfaces([android.view.View.OnClickListener])
|
||||
class ClickListenerImpl extends java.lang.Object implements android.view.View.OnClickListener {
|
||||
constructor(public owner: Button) {
|
||||
|
||||
@@ -265,6 +265,7 @@ export class Button extends ButtonBase {
|
||||
}
|
||||
}
|
||||
|
||||
@NativeClass
|
||||
class TapHandlerImpl extends NSObject {
|
||||
private _owner: WeakRef<Button>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user