Dojo - 修改创建删除dom元素
发布时间:2020-12-16 21:24:24 所属栏目:百科 来源:网络整理
导读:1. 创建dom节点 dojo/dom-construct http://dojotoolkit.org/reference-guide/1.8/dojo/dom-construct.html 2. 设置/获得元素的style dojo/dom-style http://dojotoolkit.org/reference-guide/1.7/dojo/dom-style.html 3. 为元素添加/删除class dojo/dom-cla
1. 创建dom节点 dojo/dom-construct http://dojotoolkit.org/reference-guide/1.8/dojo/dom-construct.html 2. 设置/获得元素的style dojo/dom-style http://dojotoolkit.org/reference-guide/1.7/dojo/dom-style.html 3. 为元素添加/删除class dojo/dom-class http://dojotoolkit.org/reference-guide/1.8/dojo/dom-class.html 4. 为元素添加/删除属性 dojo/dom-attr http://dojotoolkit.org/reference-guide/1.8/dojo/dom-attr.html 一些例子: http://dojotoolkit.org/documentation/tutorials/1.7/dom_functions/ (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |