dom¶
view dom sourceKISSY.use('dom',function(S,DOM){
// use DOM
});
Methods¶
- selector
- query
- get
- filter
- test
- clone
- hasClass
- addClass
- removeClass
- replaceClass
- toggleClass
- removeAttr
- attr
- hasAttr
- prop
- hasProp
- val
- text
- css
- style
- width
- height
- innerWidth
- innerHeight
- outerWidth
- outerHeight
- addStyleSheet
- show
- hide
- toggle
- offset
- scrollTop
- scrollLeft
- docHeight
- docWidth
- viewportHeight
- viewportWidth
- scrollIntoView
- index
- parent
- next
- prev
- first
- last
- siblings
- children
- contains
- create
- html
- remove
- empty
- insertBefore
- insertAfter
- append
- prepend
- replaceWith
- data
- removeData
- hasData
- unselectable
- contents
- wrap
- wrapAll
- unwrap
- wrapInner
- nodeName
- outerHTML
Note
KISSY Node 以及 NodeList 对象上的相关处理推荐直接调用其自身方法.