mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make events documentation more clear
Fixes #2335. See also Issue #2202.
This commit is contained in:
@@ -2304,8 +2304,8 @@ Example:
|
||||
// Fires when any element with the 'accept' class is clicked
|
||||
'click .accept': function (event) { ... },
|
||||
|
||||
// Fires when 'accept' is clicked, or a key is pressed
|
||||
'keydown, click .accept': function (event) { ... }
|
||||
// Fires when 'accept' is clicked or focused, or a key is pressed
|
||||
'click .accept, focus .accept, keypress': function (event) { ... }
|
||||
}
|
||||
|
||||
Most events bubble up the document tree from their originating
|
||||
|
||||
Reference in New Issue
Block a user