Real-Time asset Locator will be responsible for interpreting the button event and map it to a change in state of an asset.
Real - TimeAsset Locator将负责解释这个按钮事件并将其映射到一个资产状态更改。
The following example creates a mouse button event handler that changes the color of the object that raised the event.
下面的示例创建一个鼠标按钮事件处理程序,该处理程序用于更改引发事件的对象的颜色。
When the set button is pressed it will emit the actual button event as well as an additional event that the alias is "On".
当所设置的映射按钮被按下时将发出一个实际按钮事件以及一个额外别名开启的事件。
When the set button is pressed it will emit the actual button event as well as an additional event that the alias is "on".
当控制器被按下时也会有通用动作的别名事件被发出。
When the set button is released it will emit the actual button event as well as an additional event that the alias button is "Off".
当按钮释放的时候就发出一个实际按钮事件以及一个额外的别名关闭的事件。
If you have a long-running database query for example that's triggered by a button press, you can simply increase the time paused after the button event has been issued.
如果你有一个运行时间很长的数据库查询(比如由按钮点击所触发),那么在按钮事件产生后你可以增加延迟时间。
The trigger can be a property firing, clicking the minimal UI (for example, a button), or some other event.
通过单击最小UI(例如,按钮)或其他事件,触发可以是一种属性触发。
Events bubble up so you'll be able to catch the event and figure out which button it originated from.
事件冒泡了等,这样您就能够捕获事件,并找出它来自哪个按钮。
To keep consistent with the roles of the components involved in the solution, the RTLS provider is expected to send a "button press" event.
为使解决方案中涉及的组件的角色保持统一,RTLS提供者预计会发送一个“按钮按下”事件。
The logic for the type of button and the event handler to be invoked is contained in this method, shown in Listing 15.
被调用的按钮和事件处理程序的类型的逻辑包含在此方法中,如清单 15 所示。
In a browser, events are typically generated in response to user actions: a button fires an ONCLICK event when the user clicks.
在浏览器中,通常为响应用户操作而生成事件:当用户单击按钮时,按钮产生一个ONCLICK事件。
Interpret the button press event and map it to a valid asset STATUS (more on this in the next section).
解释按钮按下事件并将其映射到一个有效的资产STATUS(下一节将详细介绍)。
Receive the button press event, along with current location information, from the RTLS provider.
从RTLS接收按钮按下事件以及当前位置信息。
Handles the event when the OK button is clicked.
处理单击ok按钮时的事件。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
For that reason, I usually activate the DataHub component only at runtime, for example in response to a Button Click event.
由于这个原因,我通常都只在运行时激活DataHub组件,例如在响应Button的Click事件时实现。
For example, a Button control contains a Click event that is raised when the Button is clicked.
比如,按钮有单击事件。
Optionally, for better usability, add the following line of code to the onclick event for the edit button.
为了获得更好的可用性,可以选择将以下代码行添加到编辑按钮的onclick事件。
In the OnClick event handler of the button, you need to write this code.
在按钮的OnClick事件处理程序中,需要写入下列代码。
You then use Dojo to associate an event handler for when the button is clicked.
然后可以使用Dojo为按钮点击关联一个事件处理函数。
The code for the Button Click event is as follows, note the use of the sensible names for the TextBox controls.
用于ButtonClick事件的代码如下,注意TextBox控件的合理名称的使用。
Notice the onClick event specified on the button.
请注意按钮上指定的onClick事件。
For example, instead of an onchange event for each edit box, use the onclick event of one button.
例如,与每一个编辑框具有一个onchange事件相反,使用一个按钮的onclick事件。
Listing 1.adding an onclick event to the user interface button.
列表1 .添加一个onclick事件到用户界面的按钮上。
On the main page, go to the onclick event for the edit button.
在主页面上,转到编辑按钮的onclick事件。
For example, if you want the progress bar to start when the user clicks a button, you can add an onclick event to the button, using the code that you see in Listing 1.
例如,如果您想要这个进展在用户点击一个按钮时开始,您可以在一个按钮上添加一个onclick事件,使用您在列表1中所看到的代码。
The example in Listing 18 shows the onclick event emitted by a button being mapped to an event handler.
清单18中的例子显示一个按钮发出的onclick事件,该事件被映射到一个事件处理程序。
This function is bound to the onclick() event of any radio button named participation_type_id.
该函数被绑定到任何名为 participation_type_id的单选按钮的onclick()事件。
Click the send Measurement button to send the event data to the data Capture and Delivery device agent and start the processing.
单击SendMeasurement按钮以将事件数据发送给DataCapture andDelivery设备代理,并启动处理流程。
If an admin event occurs (URL or button click), the admin webflow will go into the view state admin.
如果发生了一次admin事件(url或者按钮点击),那么adminwebflow将会进入到视图状态admin中。
应用推荐