Live2D

JavaScript DOM树

zepto

DOM

$.contains

dom tree

append
prepend
before
afeter
insertBefore
insertAfter
appendTo
preendTo
remove
replaceWith
wrap
unwrap
wraplnner
wrapAll

event

$.Event
on
off
bind
unbind
live
die
delegate
undelegate
ready
touch

  • tap
    tap
    singletap
    longtap
    doubletap
  • swipe
    swipe
    swipeUp
    swipeDown
    swipeLeft
    swipeRight

node

basic

html
css
data
text
prop
val
attr
animate
removeAttr

visibility

hide
show
toggle

class

addClass
removeClass
toggleClass
hasClass

layout

scrollTop
scrollLeft
height
width
offset

language util

string

$.trim

$.camelCase

array

$.extend

$.inArray

$.grep

$.each

$.map

type

$.type

$.isFunction

$.isArray

$.isPlainObject

collection

array

get
size
each
slice
forEach
reduce
concat
push
map
[]

operation

add
remove
clone

traversal

contents
children
first
last
parent
parents
sinlings
next
prev

selector

not
filter
has
eq
find
closet

ajax

$.ajax

$.post

$.get

$.getJSON

posted @ 2020-05-23 21:37  空空道人┞  阅读(210)  评论(0编辑  收藏  举报
复制代码
Live2D