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