You create a new module for the selector.
您为选择器创建一个新的模块。
通过全局选择器。
How many nodes match the selector?
多少节点匹配选择器?
So, no function selector is needed.
因此,不需要任何函数选择器。
Rules with a tag selector as the key.
标签选择器作为键的规则。
Create a new module for the selector.
为选择器创建新的模块。
Using a selector for simple dispatch.
将选择器用于简单的分派。
This is what the function selector does.
这正是函数选择器所完成的工作。
什么是选择器?
Implementing the custom function selector.
实现自定义函数选择器。
Now you are ready to test your new selector.
现在,您已准备好测试新的选择器了。
The basic page and the universal selector
基本页面和通用选择符
Travel date selector on a single calendar.
在一个单一日历上的旅行日期选择。
Exercise 1: Simple dispatch using a selector.
练习1:使用选择器的简单分派。
Figure 6 shows how we would create such a selector.
图6展示了如何创建这样的选择器。
In this step, you create a new module for the selector.
在此步骤中,您将为选择器创建一个新的模块。
Use the element only selector type if it is in fact global.
如果elementonly 选择器类型确实是全局的,则使用它。
In this section, you add a selector to an existing application.
在本部分中,您将把选择器添加到现有应用程序中。
Each div has its own color rule that overrides the body selector.
每个div 都具有自己的color来覆盖body 选择器。
Now, here comes something different: We create a triangle selector.
接下来的情况有所不同:我们创建了一个三角形的选择器。
You need a menu option that has just one selector for the user name.
您需要一个菜单选项,其中只有一个针对该用户名的选择器。
Let us say you want to write a voice-enabled drink selector program.
我们假设您想编写一个启用语音的饮料选择器程序。
During the setting of the random selector, input for weight is required.
在随机选择器的设置期间,要求输入权重。
We have covered how you can use a selector in a simple dispatch scenario.
我们向您介绍了如何在简单的分派场景中使用选择器。
For the name of the new selector, enter CreditSelector, and then click Next.
输入CreditSelector作为新选择器的名称,然后单击Next。
The universal selector, written "*", matches the name of any element type.
全局选择符,写做"*",匹配任意元素类型名。
Then, to make the selector available to other modules, you need to create an export.
然后,要使选择器对其他模块可用,您需要创建导出。
A better alternative is to use a role selector widget (discussed in the next section).
有个更好的替代方案,就是使用角色选择器小部件(将在下节讨论)。
The display should now update to one that includes a selector for the organization.
屏幕现在应该会更新,会增加选择组织的控件(图 8)。
The display should now update to one that includes a selector for the organization.
屏幕现在应该会更新,会增加选择组织的控件(图 8)。
应用推荐