... | ... | @@ -6,6 +6,7 @@ WikiWFS |
|
|
[ajaxMaps](ajaxMaps)
|
|
|
|
|
|
|
|
|
**parentElements**
|
|
|
An element becomes a parentElement if there is one or more childElements with the data-parentId attribute set to the element.id of the parentElement.
|
|
|
|
|
|
A parentElement can only receive data from a database query.
|
... | ... | @@ -13,6 +14,7 @@ A parentElement can transmit and receive events to and from any of its childElem |
|
|
When an event (mouseover, mouseout, mousedown, mouseup, click) happens on the parentElement, the event propagates down to all childElements.
|
|
|
|
|
|
|
|
|
**siblingElements**
|
|
|
An element becomes a siblingElement if itself and all its siblingElements have their data-siblingId attribute set to an array containing all the element.id's of all its siblingElements, including its own element.id and maintaining the same order for all.
|
|
|
|
|
|
A siblingElement can only receive data from a database query.
|
... | ... | @@ -20,6 +22,7 @@ A siblingElement can transmit and receive events to and from any of its siblingE |
|
|
When an event (mouseover, mouseout, mousedown, mouseup, click) happens on the siblingElement, the event propagates to all the siblingElements except the siblingElement from which the event originated.
|
|
|
|
|
|
|
|
|
**childElements**
|
|
|
An element becomes a childElement if it has its data-parentId attribute set to the element.id of its parentElement.
|
|
|
|
|
|
A childElement can only receive data from its parentElement.
|
... | ... | |