dojo/dom-attr的用法

前端之家收集整理的这篇文章主要介绍了dojo/dom-attr的用法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

method summary:

  • get(node,name)Gets an attribute on an HTML element.
  • getNodeProp(node,name)Returns an effective value of a property or an attribute.
  • has(node,name)Returns true if the requested attribute is specified on the given element,and false otherwise.
  • remove(node,name)Removes an attribute from an HTML element.
  • set(node,name,value)Sets an attribute on an HTML element.

来源于dojo官网:http://dojotoolkit.org.sixxs.org/api/1.9/dojo/dom-attr

猜你在找的Dojo相关文章