简体   繁体   English

Dojo Toolkit DOM属性

[英]Dojo Toolkit DOM attributes

This might be a really stupid question, and if so, I apologize. 这可能是一个非常愚蠢的问题,如果是的话,我表示歉意。 I am relatively new to the web development world and am just getting my feet wet with AJAX, specifically with the Dojo Toolkit. 我对Web开发领域还比较陌生,只是对AJAX(尤其是Dojo Toolkit)感到不满。

Here's my question -- is there a comprehensive list of Dojo HTML attributes (eg dojoType, etc.)? 这是我的问题-是否有Dojo HTML属性的完整列表(例如dojoType等)? I am having difficulty finding what attributes are available to specific DOM elements when using Dojo. 使用Dojo时,很难找到特定DOM元素可用的属性。 I have scoured the Dojo documentation and API's, but not much luck. 我已经搜索了Dojo文档和API,但是运气不高。 Any direction would be much appreciated. 任何方向将不胜感激。

I think you' re wrong about "dojoType" property. 我认为您对“ dojoType”属性是错误的。

Dojo doesn't have a list of attributes to use on HTML node, dojoType is a special word used to define which nodes would be a widget. Dojo没有要在HTML节点上使用的属性列表,dojoType是一个特殊的单词,用于定义哪些节点将成为小部件。

This is a link additional info about the dojo parser. 这是有关dojo解析器的链接附加信息。

I hope this help you. 希望对您有所帮助。

http://dojotoolkit.org/reference-guide/dojo/parser.html http://dojotoolkit.org/reference-guide/dojo/parser.html

To inspect attributes of almost whatever object you want, just install firebug in you browser and in your code, make this: 要检查几乎任何所需对象的属性,只需在浏览器和代码中安装firebug,请执行以下操作:

console.dir( objetThatYouWantToInspectAttribuitesFor ); console.dir(objetThatYouWantToInspectAttribuitesFor);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM