vc_flag_hint_exist = false,
/**
+ * vc_flag_make_tooltip is a flag variable. When creating tooltip is set, it is true. Otherwise, it is false.
+ */
+vc_flag_make_tooltip = true,
+
+/**
* vc_text_indicators is an array that contains text indicator elements
*/
vc_text_indicators = [],
*/
function vc_make_hint(elem, child) {
// vc_print_log(elem);
+ if (false == vc_flag_make_tooltip) {
+ return;
+ }
+
var rect;
rect = child.getBoundingClientRect();
return vc_search_text(param);
}
-
- return [-1, 0, 0];
}
/**
}
/**
+ * vc_set_make_tooltip function sets the vc_flag_make_tooltip.
+ *
+ * @param makeTooltip If it is 1, then set vc_flag_make_tooltip as true. Otherwise false.
+ */
+function vc_set_make_tooltip(makeTooltip) {
+ if (1 == makeTooltip) {
+ vc_flag_make_tooltip = true;
+ } else {
+ vc_flag_make_tooltip = false;
+ }
+}
+
+/**
* vc_init function initialize some elements and styles to use voice control.
*/
function vc_init() {