Listen to 'input' and 'change' events
This commit is contained in:
+2
-1
@@ -42,7 +42,8 @@ ol.dom.Input = function(target) {
|
|||||||
*/
|
*/
|
||||||
this.target_ = /** @type {HTMLInputElement} */ (target);
|
this.target_ = /** @type {HTMLInputElement} */ (target);
|
||||||
|
|
||||||
goog.events.listen(this.target_, goog.events.EventType.CHANGE,
|
goog.events.listen(this.target_,
|
||||||
|
[goog.events.EventType.CHANGE, goog.events.EventType.INPUT],
|
||||||
this.handleInputChanged_, false, this);
|
this.handleInputChanged_, false, this);
|
||||||
|
|
||||||
goog.events.listen(this,
|
goog.events.listen(this,
|
||||||
|
|||||||
Reference in New Issue
Block a user