Skip to content

Commit

Permalink
Initial work for removing Events .on()/.onStatic()/.off()/.offStatic(…
Browse files Browse the repository at this point in the history
…), see #490
  • Loading branch information
jonathanolson authored and zepumph committed Dec 15, 2021
1 parent 079918d commit 37eef1d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions js/accessibility/pdom/ParallelDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ const ParallelDOM = {
focusHighlight.visible = this.focused;
}

this.trigger( 'focusHighlightChanged' );
this.focusHighlightChangedEmitter.emit();
}
},
set focusHighlight( focusHighlight ) { this.setFocusHighlight( focusHighlight ); },
Expand Down Expand Up @@ -2049,7 +2049,7 @@ const ParallelDOM = {

PDOMTree.accessibleOrderChange( this, oldAccessibleOrder, accessibleOrder );

this.trigger0( 'accessibleOrder' );
this.accessibleOrderEmitter.emit();
}
},
set accessibleOrder( value ) { this.setAccessibleOrder( value ); },
Expand Down Expand Up @@ -2633,8 +2633,7 @@ const ParallelDOM = {
// recompute the heading level for this node if it is using the accessibleHeading API.
this._accessibleHeading && this.computeHeadingLevel();


this.trigger0( 'accessibleContent' );
this.accessibleContentEmitter.emit();
},

/**
Expand Down

0 comments on commit 37eef1d

Please sign in to comment.