All Projects → xiaofuzi → tiny.js

xiaofuzi / tiny.js

Licence: other
a simple dom libary.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

tiny.js

a simple dom libary.

api doc:

core

  • DOM
  • all
  • each
  • map
  • extend

dom

  • val
  • clone
  • append
  • prepend
  • after
  • before
  • remove
  • prev
  • next
  • siblings
  • addClass
  • removeClass
  • toggleClass
  • hasClass
  • attr
  • removeAttr
  • text
  • html
  • replaceWith

css

  • css
  • height
  • width
  • innerHeight
  • innerWidth
  • outHeight
  • outWidth
  • position
  • viewportPostion
  • scrollTop
  • scrollLeft

事件(event)

  • on
  • once
  • off
  • trigger
  • emit
  • ready
  • click
  • dblclick
  • mouseover
  • mouseout
  • mouseenter
  • mouseleave
  • mouseup
  • mousedown
  • focus
  • blur
  • change
  • submit
  • select
  • keydown
  • keypress
  • keyup

ajax

  • getJSON
  • post
  • get

动画(animation)

  • fadeIn
  • fadeOut
  • hide
  • show

辅助工具(utils)

  • type
  • isArray
  • isObject
  • isNumber
  • isString
  • isFunc
  • toArray
  • objEach
  • objMap
  • proxy
  • extend
  • extends
  • deepExtend
  • parseHTML
  • parseJSON
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].