1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// JavaScript
"use strict";
const oLxgPanelContent = {
_xContentNode: createNode("div", {id: "grammalecte_lxg_panel_content"}),
_nCount: 0,
getNode: function () {
return this._xContentNode;
},
clear: function () {
this._nCount = 0;
while (this._xContentNode.firstChild) {
this._xContentNode.removeChild(this._xContentNode.firstChild);
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// JavaScript
"use strict";
const oLxgPanelContent = {
_xContentNode: createNode("div", {id: "grammalecte_lxg_panel_content"}),
_nCount: 0,
init: function () {
return this._xContentNode;
},
clear: function () {
this._nCount = 0;
while (this._xContentNode.firstChild) {
this._xContentNode.removeChild(this._xContentNode.firstChild);
|