mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(core): implement EventListenerOptions for addEventListener and removeEventListener
This commit is contained in:
@@ -14,7 +14,7 @@ export class FormattedString extends ViewBase implements FormattedStringDefiniti
|
||||
constructor() {
|
||||
super();
|
||||
this._spans = new ObservableArray<Span>();
|
||||
this._spans.addEventListener(ObservableArray.changeEvent, this.onSpansCollectionChanged, this);
|
||||
this._spans.addEventListener(ObservableArray.changeEvent, this.onSpansCollectionChanged, false, this);
|
||||
}
|
||||
|
||||
get fontFamily(): string {
|
||||
|
||||
Reference in New Issue
Block a user