• 首页
  • Tutorials
  • API
  • DEMO
  • Google Group
  • Source Code
  • English API Docs
  • Offical Blog

Navigation

  • index
  • modules |
  • next |
  • previous |
  • KISSY v1.3 Documentation »
  • API Documentation »
  • Core »

dom¶

view dom source
KISSY.use('dom',function(S,DOM){
    // use DOM
});

Module¶

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 对象上的相关处理推荐直接调用其自身方法.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • KISSY v1.3 Documentation »
  • API Documentation »
  • Core »

    Seed

    • lang
    • loader

    Core

    • ajax
    • anim
    • base
    • cookie
    • dom
    • event
    • json
    • node
    • ua

    Component

    • button
    • calendar
    • color
    • combobox
    • component
    • datalazyload
    • dd
    • editor
    • imagezoom
    • menu
    • menubutton
    • mvc
    • overlay
    • promise
    • resizable
    • rich-base
    • sizzle
    • stylesheet
    • swf
    • switchable
    • tabs
    • tree
    • uri
    • waterfall
    • xtemplate
© Copyright 2010~2012, KISSY Team. Created using Sphinx