Permalink
Browse files

Replaced rippling water on a pond analogy with a simpler statement ab…

…out events bubbling up.
  • Loading branch information...
1 parent 2394e3b commit 771169ee2099f4fcb5bf97dc85d6876ab484b2fd @geojeff geojeff committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/views.textile
View
@@ -357,7 +357,7 @@ TIP: For a more detailed overview of theming see "Theming Your App":theming_app.
h3. View Events
-A SproutCore view hierarchy can be viewed like a pond, if the water is touched it ripples outwards affecting all the water around it, or in our case, all the parent views. +SC.View+ extends +SC.Responder+, inheriting the ability to react to DOM events such as +mouseDown+ and +mouseEntered+. Let's highlight the contact name when it's being hovered over and take the user to the contact's website if it's clicked:
+Events bubble up to parent views in a SproutCore view hierarchy. +SC.View+ extends +SC.Responder+, inheriting the ability to react to DOM events such as +mouseDown+ and +mouseEntered+. Let's highlight the contact name when it's being hovered over and take the user to the contact's website if it's clicked:
<javascript filename="apps/addressbook/views/contact_name_view.js">
AddressBook.ContactNameView = SC.View.extend({

0 comments on commit 771169e

Please sign in to comment.