• The method shown in Listing 20 can further be modified as shown in Listing 21, so that the selected nodes keep their style when clicking on a disabled node after an enabled node was already selected.

    清单20中所方法可以进一步修改,以使这些选中节点个启用了的节点选中单击某个被禁用的节点仍保持样式清单21所示。

    youdao

  • If, however, you're in a static method, you have to get the root node and provide the package yourself, as shown in Listing 2.

    但是如果使用静态方法,您就必须得到节点自己提供如清单2

    youdao

  • The code snippet shown in Listing 2 specifies that any element (Dojo widget) that needs to be rendered is created in this method and added to the DOM node of the container div.

    清单2显示代码片段规定呈现任何元素(Dojowidget)都方法创建并且添加容器div的DOM节点上。

    youdao

  • The method shown in Listing 20 can be used to ignore the onClick event by simply returning if a disabled node was clicked on.

    清单20 中所方法可用忽略onClick事件返回某个被禁用了的节点是否单击。

    youdao

  • In the code in Listing 7, the callback method of the controller first generates the HTML fragment using the XSLProcessor module and then injects it into the targeted node.

    清单7所示代码控制器方法首先使用XSLProcessor模块生成HTML片段然后注入目标节点中。

    youdao

  • The program in Listing 4 shows a generic method for right-clicking the tree node.

    列表4中的程序显示击树节点的通用方法

    youdao

  • For retrieving the files in each activity, use another method in the TreeParent object to get the URL of the activity (first-level node) and do a get request on the activity URL as shown in listing 3.

    为了获取每个活动中的文件使用TreeParent对象中的另一个方法获取活动(第一级节点)URL活动url执行GET请求清单3。

    youdao

  • To get specific behavior depending on which node is right-clicked, you could connect to the _openmyself method of the menu as shown in Listing 35.

    根据右键单击具体节点获得特定行为可以连接菜单的_openmyself方法,如清单35所

    youdao

  • To get specific behavior depending on which node is right-clicked, you could connect to the _openmyself method of the menu as shown in Listing 35.

    根据右键单击具体节点获得特定行为可以连接菜单的_openmyself方法,如清单35所

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定