【文件属性】:
文件名称:gaffa-scope:将额外的范围传递给子操作
文件大小:53KB
文件格式:ZIP
更新时间:2021-07-11 15:06:56
JavaScript
gaffa-范围
将额外的范围传递给子操作。
这是用于的 Action
安装:
npm i gaffa-scope
添加到加法:
var Scope = require('gaffa-scope');
gaffa.registerConstructor(Scope);
应用程序接口
属性(Gaffa.Property 的实例)
触发范围
要添加到范围的对象,该对象将传递给触发的操作。
例如:
// A child action to trigger.
var set = new Set();
set.source.binding = 'number'; // 'number' has been put in scope by the Scope action.
set.target.binding = '[number]';
// A scope action puts a
【文件预览】:
gaffa-scope-master
----LICENSE.txt(1KB)
----test()
--------index.browser.js(215KB)
--------index.js(827B)
--------test.html(126B)
----README.md(923B)
----scope.js(481B)
----.gitignore(12B)
----package.json(852B)