can-stache-bindings
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -19,10 +19,10 @@ @function can-stache-bindings.event on:event | ||
@param {can-stache.expressions} CALL_EXPRESSION A call expression like `method(key)` that is called when the `VIEW_MODEL_EVENT` | ||
is fired. The following key values are also supported: | ||
is fired. The following [can-stache/keys/scope] key values are also supported: | ||
- `%element` - The element the event happened upon. | ||
- `%event` - The event object. | ||
- `%viewModel` - If the element is a [can-component], the component’s [can-component::ViewModel ViewModel]. | ||
- `%context` - The current context. | ||
- `%scope` - The current [can-view-scope]. | ||
- `%arguments` - The arguments passed when the event was dispatched/triggered. | ||
- `scope.element` - The element the event happened upon. | ||
- `scope.event` - The event object. | ||
- `scope.viewModel` - If the element is a [can-component], the component’s [can-component::ViewModel ViewModel]. | ||
- `scope.context` - The current context. | ||
- `scope.scope` - The current [can-view-scope]. | ||
- `scope.arguments` - The arguments passed when the event was dispatched/triggered. | ||
@@ -29,0 +29,0 @@ @signature `on:el:DOM_EVENT='CALL_EXPRESSION'` |
{ | ||
"name": "can-stache-bindings", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "Default binding syntaxes for can-stache", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-stache-bindings.html", |
166880
29