码迷,mamicode.com
首页 > 其他好文 > 详细

Dojo - 操作Dom的函数

时间:2015-05-28 10:50:06      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:

DOM Manipulation

You might be seeing a trend here if you have gotten this far in the tutorial, in that not only has Dojo abandoned its dependency on the global namespace and adopted some new patterns, it has also broken out some of "core" functionality into modules and what is more core to a JavaScript toolkit than DOM manipulation.

Well, that too has been broken up into much smaller chunks and modularized. Here is summary of the modules and what they contain:

ModuleDescriptionContains
dojo/dom Core DOM functions byId() isDescendant() setSelectable()
dojo/dom-attr DOM attribute functions has() get() set() remove() getNodeProp()
dojo/dom-class DOM class functions contains() add() remove() replace() toggle()
dojo/dom-construct DOM construction functions toDom() place() create() empty() destroy()
dojo/dom-form Form handling functions fieldToObject() toObject() toQuery() toJson()
dojo/io-query String processing functions objectToQuery() queryToObject()
dojo/dom-geometry DOM geometry related functions position() getMarginBox() setMarginBox() getContentBox() setContentSize() getPadExtents() getBorderExtents() getPadBorderExtents() getMarginExtents() isBodyLtr() docScroll() fixIeBiDiScrollLeft()
dojo/dom-prop DOM property functions get() set()
dojo/dom-style DOM style functions getComputedStyle() get() set()

Dojo - 操作Dom的函数

标签:

原文地址:http://www.cnblogs.com/hellocz/p/4535280.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!