Introduce touch gesture for hint menu
Change-Id: I63e55405ea0d4df8a51932f96c6bbd312ebe4388
diff --git a/dev/js/src/hint/input.js b/dev/js/src/hint/input.js
index e61d820..a163727 100644
--- a/dev/js/src/hint/input.js
+++ b/dev/js/src/hint/input.js
@@ -49,6 +49,7 @@
return this._element.value;
},
+
/**
* Get the value of the input field mirror.
*/
@@ -58,7 +59,7 @@
/**
- * Reset the input value
+ * Reset the input value
*/
reset : function () {
this._element.value = "";
@@ -138,7 +139,7 @@
return this._split()[0];
},
-
+
// Initialize new input field
_init : function (element) {
this._element = element;
@@ -162,6 +163,7 @@
return this;
},
+
// Get the right position
_rightPos : function () {
var box = this._mirror.firstChild.getBoundingClientRect();