It's based on the fact that events bubble up and can be handled by a parent element.
它基于这样一个事实:事件逐层冒泡总能被父元素捕获。
Some elements will be wrapped inside a parent element-that is, an element that fully contains another element.
有些元素被打包到父元素中—就是说,一个元素完全包含另外一个元素。
For example, dependency properties often have default values or values that are provided by a parent element.
例如,依赖项属性通常具有默认值或具有由父元素提供的值。
Finally, browser vendors had to decide what happened when an element and its parent element both had a handler for the same event.
最终,浏览器必须要对一个元素和这个元素的父元素对同一个动作都有事件处理程序做出选择。
The list is "live," so I can make changes to the list directly rather than needing to call a method on the parent element.
这张列表是“活的”,所以我能直接对它进行更改,而不必调用父元素上的方法。
In general, an element node is the parent of a text node; but here, the predicate essentially de-references the text within an element.
一般来说,元素节点是文本节点的父节点,但这里谓词实际上引用了元素中的文本。
For example, if an element child inherits from element parent, the schema tree for child will include a group for parent that is based on its type.
例如,如果一个子元素继承自父元素,子元素的架构树将包含一个基于其类型的父元素组。
Planetary scientists can determine a rock's age by calculating how many radioactive "parent" isotopes of a particular element have decayed into "daughter" isotopes.
行星科学家们可以通过计算一个特定元素有多少“母亲”放射性同位素衰变为“女儿”同位素来确定岩石的年龄。
Here, the algorithm used first traverses back along the parent axis from this instance element all the way to an element that is found to be a global element.
这里使用的算法首先沿着来自实例元素的父轴向后遍历,直到遇见一个全局元素。
In other words, say you have a given element and you want to find its parent element, one of its child elements, or its previous or next sibling element.
换而言之,根据一个给定的元素查找其父元素、子元素、前一个或后一个兄弟元素。
The root element is the only element in an XML document that does not have a parent.
根元素是XML文档中惟一没有父元素的元素。
"However, this kind of policy also has a life insurance element, so it would pay out if the parent died before the age of 80," he says.
他说:“尽管如此,这类保单还有人寿保险性质,如果父母在80岁之前离去,保费会全。”
Otherwise, wrap it in a new element with the name "text" in the namespace of the parent element.
否则,将它包装到父元素的名称空间中一个名为“text”的新元素中。
Even though most name elements are the first element within their parent element, they are the second node because a blank text node (including a line break) exists between the tags.
即使大多数name元素是它们父元素中的第一个元素,它们其实是第二个节点,因为标记之间存在一个空文本节点(包含一个换行)。
Rather than using a separate class for the values within the XML name element, this just includes the values directly within the class that corresponds to the parent customer element.
该结构不是为XMLname元素中的值使用单独类,而是将这些值直接包含在与父customer元素对应的类中。
In the example (see Listing 15), the parent element PellAwardResponseType has a child element called FSACode, which should be present zero to three times.
在该示例中(请参见清单15)中,父元素pellawardresponsetype具有一个名为FSACode的子元素,此子元素应该出现零至三次。
The fully qualified name of a Package is constructed by adding the ". "separator and the Package's name attribute to the fully qualified name of the parent context. Each contained element can be.
分隔符和Package的名称属性添加到父环境的全限定名来构造Package的全限定名。
When you search for a specific node, you often know its name, or the name of its parent element.
在搜索特定节点时,您通常知道它的名称,或者知道其父元素的名称。
When multiple instances of an element exist as children of a single parent element, normal iteration techniques apply.
如果同一个父元素中存在同一元素的多个实例,通常需要使用迭代技术。
The navigator content extension defines a content provider and label provider that can be used to provide children and parent objects for element of an EMF model.
导航器内容扩展定义了内容提供程序和标签提供程序,可以使用这些程序为emf模型的元素提供子对象和父对象。
Tree structure view: in this format, the WBS is depicted using a tree structure with each child element connected to the parent element through a line.
树状视图:在这种格式中,用树状结构来体现WBS,每一个子元素都由连接线连到父元素上。
Maps that do not have a global element as the root input are typically used as Submaps and can be tested by calling them through a parent map.
未将全局元素作为根输入的映射通常作为Submap使用,可以通过在父映射中对其进行调用来测试。
The solution ElementTree adopts is to give each node a .tail attribute, which contains all the text after a closing tag but before the next element begins or the parent element is closed. For example
ElementTree 采用的解决方案赋予了每个节点一个 .tail属性,它包含了位于结束标记之后,下一元素开始或父元素结束之前所有的文本。
A containing element is called a parent, and the elements inside are called child elements or children.
包含元素叫做父亲(parent),被包含在里面的元素叫做孩子(child或children)元素。
The tag navigator is a representation of the element that is currently selected in the document, along with the hierarchy of parent tags to which it belongs.
标记导航器是文档中当前所选元素及其所属父标记的层次结构的表示形式。
Firstly, the enough points are arranged evenly on a square parent element according to the number of pixels spanned by an element on the screen.
首先,根据单元覆盖象素的数量在正方形母元上均匀布置足够数量的点。
Where was the mouse when the event happened?Was any key pressed?Finally, browser vendors had to decide what happened when an element and its parent element both had a handler for the same event.
当事件发生时鼠标在哪里?键盘被按下了吗?最后,当一个元素和父级元素拥有处理同一个事件的处理器时,浏览器厂商也必须作出判断。
Navigation is enabled by the providers for each element, each of which may point to a parent, siblings, and children.
导航由每个元素的提供程序启用,其中每个提供程序都可能指向一个父项、同级项和子项。
I'd like to position a table next to a floating image while keeping the width of the table 100% and not overflowing the width of the parent element.
我想在浮动图片旁边放置一个表格,同时将表格的宽度保持为100%,而不会溢出父元素的宽度。
Multiple groups are supported only by creating a parent group and specifying that parent group in the TRANSITION element.
要支持多个组,必须创建一个父组并在TRANSITION元素中指定该父组。
应用推荐