@@ -46,7 +46,7 @@ class KeyboardListener {
4646 this . _updateAutocompleteWithInput = null ;
4747 this . _updateCharacterSetWithInput = null ;
4848 this . _onKeyboardDidSendEvent = null ;
49- this . _onKeyboardInputMaskHasChanged = null ;
49+ this . _onKeyboardDidUpdateInputMask = null ;
5050 }
5151
5252 /**
@@ -100,12 +100,12 @@ class KeyboardListener {
100100 }
101101
102102 /**
103- * Set the onKeyboardInputMaskHasChanged function.
103+ * Set the onKeyboardDidUpdateInputMask function.
104104 * @param {function } listener - A function to be invoked when the event occurs.
105105 * @returns {KeyboardListener } - A reference to this instance to allow method chaining.
106106 */
107- setOnKeyboardInputMaskHasChanged ( listener ) {
108- this . _onKeyboardInputMaskHasChanged = listener ;
107+ setOnKeyboardDidUpdateInputMask ( listener ) {
108+ this . _onKeyboardDidUpdateInputMask = listener ;
109109 return this ;
110110 }
111111
@@ -175,13 +175,13 @@ class KeyboardListener {
175175 }
176176
177177 /**
178- * Safely attempts to invoke the onKeyboardInputMaskHasChanged event.
178+ * Safely attempts to invoke the onKeyboardDidUpdateInputMask event.
179179 * Implement this to be notified of all events occurring on the keyboard
180180 * @param {KeyboardEvent } event - The event that occurred
181181 */
182- onKeyboardInputMaskHasChanged ( event ) {
183- if ( typeof this . _onKeyboardInputMaskHasChanged === 'function' ) {
184- this . _onKeyboardInputMaskHasChanged ( event ) ;
182+ onKeyboardDidUpdateInputMask ( event ) {
183+ if ( typeof this . _onKeyboardDidUpdateInputMask === 'function' ) {
184+ this . _onKeyboardDidUpdateInputMask ( event ) ;
185185 }
186186 }
187187}
0 commit comments