54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
-
-
+
|
xNewNode.style.marginTop = nMarginTop + "px";
}
_createListeners () {
this.xNode.addEventListener('focus', (e) => {
if (this.bShadow) {
this.xShadowBtn.style.display = "block";
} else {
this.xButton.style.display = "block";
}
this.xButton.style.display = "block";
});
/*this.xNode.addEventListener('blur', (e) => {
window.setTimeout(() => {this.xButton.style.display = "none";}, 300);
});*/
}
_getText () {
|
153
154
155
156
157
158
159
160
161
162
163
164
|
152
153
154
155
156
157
158
159
160
161
162
|
-
-
-
-
+
+
+
+
-
|
this.xButton.parentNode.removeChild(this.xButton);
}
}
switchMenu () {
if (this.bShadow) {
this.xShadowMenu.style.display = (this.xShadowMenu.style.display == "block") ? "none" : "block";
} else {
this.xMenu.style.display = (this.xMenu.style.display == "block") ? "none" : "block";
}
}
}
this.xMenu.style.display = (this.xMenu.style.display == "block") ? "none" : "block";
}
}
}
|