... | ... | @@ -15,7 +15,7 @@ An element becomes a parentElement if there is one or more childElements with th |
|
|
|
|
|
|
|
|
**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.
|
|
|
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 siblingElements, including its own element.id and maintaining the same order for all.
|
|
|
|
|
|
- A siblingElement can only receive data from a database query.
|
|
|
- A siblingElement can transmit and receive events to and from any of its siblingElements.
|
... | ... | @@ -27,7 +27,7 @@ An element becomes a childElement if it has its data-parentId attribute set to t |
|
|
|
|
|
- A childElement can only receive data from its parentElement.
|
|
|
- A childElement can transmit and receive events to and from its parentElement.
|
|
|
- When an event (_mouseover, mouseout, mousedown, mouseup, click_) happens on the childElement, the event propagates up to the parentElement and then propagates down to all its childElements except the current childElement from which the event originated.
|
|
|
- When an event (_mouseover, mouseout, mousedown, mouseup, click_) happens on the childElement, the event propagates up to the parentElement and then propagates down to all childElements except the current childElement from which the event originated.
|
|
|
|
|
|
_An element can both be a parentElement and a siblingElement at the same time.\
|
|
|
A childElement can not be a parentElement and/or a siblingElement at the same time._ |
|
|
\ No newline at end of file |