New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

can-stache-bindings

Package Overview
Dependencies
Maintainers
14
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-stache-bindings - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

14

docs/event.md

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc