mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
use _emit instead of notify
This commit is contained in:
@@ -70,7 +70,7 @@ function initializeClickableSpan(): void {
|
||||
onClick(view: android.view.View): void {
|
||||
const owner = this.owner.get();
|
||||
if (owner) {
|
||||
owner.notify({ eventName: Span.linkClickEvent, object: owner });
|
||||
owner._emit(Span.linkClickEvent);
|
||||
}
|
||||
view.clearFocus();
|
||||
view.invalidate();
|
||||
|
||||
Reference in New Issue
Block a user