要定义事件,请执行以下操作步骤
定义事件和一个事件对象。
首先你得定义事件接口。
一种比较好的方法是创建一个定义事件的接口。
A better way is to create an interface that defines the events.
我怎么火从聚合物镖自定义事件?
可通过数据丢失或达到特定值的情景定义事件。
Events can be defined by situations where data is missing or reaches a particular value. Here is an example of a situation.
在定义事件处理程序时,必须仔细考虑这些限制。
These restrictions must be considered carefully when an event handler is defined.
当生成引发自定义事件时发生。
要真正响应事件,必须在实现文件内定义事件表。
To actually respond to events, you must define the event table within your implementation files.
对于您关心的那些事件,必须定义事件处理程序。
You need to define event handlers for just those things you care about.
你如何调度和听在聚合物中的自定义事件?
How do you dispatch and listen for custom events in Polymer?
首先,我们必须定义事件以通知使用这个特殊的内容扩展。
First, we must define events that will signal the use of this particular content extension.
序列图的主要目的是定义事件序列,产生一些希望的输出。
The main purpose of a sequence diagram is to define event sequences that result in some desired outcome.
它的优点是您不受限于如鼠标单击之类的预定义事件。
The advantage here is that you're not limited to predefined events such as a mouse click.
为此,开发人员和管理人员需要定义事件类型、事件组及其相关性。
In order to do this, developers and administrators are required to define event types, event groups, and their correlation.
任何对象都可以定义事件,并且多个对象可以侦听这些事件。
Any object can define events, and multiple objects can listen to them.
自定义事件具有的秩为2,这意味着他们的节日活动后呈现。
Custom events have a rank of 2, which means they render after the holiday events.
对于处理程序,您需要定义事件(如get)、处理程序和条件。
For handlers, you define the event (such as GET), the handler, and a condition.
第1部分定义要调用的事件处理程序的条件;即,它定义事件处理程序的类型。
Part 1 defines the conditions under which an event handler is to be invoked; that is, it defines the type of the event handler.
测试分布式程序需要定义事件约束来检测程序执行产生的事件序列。
When a distributed program is under test, event sequencing constraints should be defined to check the event sequences generated after the program was executed.
除了清除面板之外,其主要作用还有通过自定义事件处理程序可选择性地执行业务规则。
The key purpose, besides the obvious clearing of the panel, is to optionally enforce business rules with the custom event handlers.
复杂事件处理的优势之一是,能够将规则应用到所定义事件内出现的多个事件。
One of the advantages of complex event processing is that it can apply rules to multiple events that occur within a defined time period.
WS - BPEL定义事件处理程序可以与整个流程关联,也可以与流程中的每个范围关联。
WS-BPEL defines that event handlers can be associated to the whole process and to each scope within the process.
用户可以毫不费力地创建出自己的作用域和自定义事件(比如web请求的作用域)。
Users can easily create their own scopes and set up custom events (e.g. a web request scope).
event命令也是一个方法调用,使用 符号(定义事件名)和闭包(定义转换)作为参数。
The event command is also a method invocation, taking a symbol (which defines the event's name) and a closure, which defines the transitions.
可以根据业务规则或时间日期计划定义事件,从而支持数据治理策略,比如管理对关键数据的修改。
Events can be defined to support data governance policies, such as managing changes to critical data, based upon business rules or time and date scheduled.
各个组依赖于实体定义:例如,如果没有为某个类定义事件,该类将不会显示任何事件组。
The individual groups depend on the entities definition: for example, a class will not display any events group if there are no events yet defined for that class.
同时,自定义步骤完成小部件发布4个自定义事件到ECM步骤完成小部件以控制工作项目。
At the same time, the custom step completion widget publishes four custom events to the ECM step completion widget to control the work item.
您可以使用BusinessEventsDesignData工具来定义事件、动作和中间对象。
You can use the Business events Design Data tool to define events, actions and intermediate objects.
您可以使用BusinessEventsDesignData工具来定义事件、动作和中间对象。
You can use the Business events Design Data tool to define events, actions and intermediate objects.
应用推荐