摘要:
one 作用:只触发一次,并在触发后失效,触发时会产生时间冒泡。 语法:$(selector).one(event,data,function) 例子: bind 作用:添加时间监听,不监听后续动态添加的dom。 语法:$(selector).bind(event,data,function,map 阅读全文
posted @ 2019-08-15 15:00
光何
阅读(501)
评论(0)
推荐(0)
摘要:
1 function foo(name) { 2 this.name = name; 3 return name 4 } 5 console.log(new foo('光何')) 6 7 function bar(name) { 8 this.name = name; 9 return ['光',' 阅读全文
posted @ 2019-08-15 10:21
光何
阅读(3399)
评论(0)
推荐(0)
浙公网安备 33010602011771号