-
Book Overview & Buying
-
Table Of Contents
Backbase 4 RIA Development
Events refer to any kind of interaction with the application. An event can be dispatched as a result of user input, such as a button click. A change in the system, such as the loading of an external snippet, can also trigger the dispatching of an event. In your application, you will see an event only when you indicate this to the browser by registering an event handler.
All events in the Backbase framework follow the DOM event flow. The three phases (capture, target, and bubble) of the DOM event flow determine how an event is dispatched through the application. During the Capture Phase of event propagation, the event follows a path from the root of the DOM tree down to the target node. The event can be handled at any ancestor of the target node. The Target Phase takes place when the event reaches the target node. In the Bubbling Phase, the event is dispatched back up from the target node (the node handled or that has an attached listener) to the...
Change the font size
Change margin width
Change background colour