摘要:
阅读全文
摘要:
http://www.cnblogs.com/jiebba/p/6575214.html http://www.cnblogs.com/jiebba 我的博客,来看吧! 如果有错误,请留言修改下 哦! 阅读全文
摘要:
http://www.cnblogs.com/jiebba/p/6575214.html http://www.cnblogs.com/jiebba 我的博客,来看吧! 阅读全文
摘要:
1.先得到 class (获取类) 2.创建对象 3.获取属性和方法 阅读全文
摘要:
github: https://github.com/longfei59418888/vui (记得给一个 start,以后有一起讨论,各种好组件) demo : http://60.205.209.185/#/popup 阅读全文
摘要:
github: https://github.com/longfei59418888/vui (记得给一个 start,以后有一起讨论,各种好组件) demo : http://60.205.209.185/#/time 阅读全文
摘要:
//时间格式化 Date.prototype.format = function(fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.ge... 阅读全文
摘要:
class Event{ constructor(){ this.handlers=[] } on(type,fn){ //订阅事件 if(!this.handlers[type]){ this.handlers[type] = []; } this.handlers[type]... 阅读全文
摘要:
function getVendorPrefix() { var body = document.body || document.documentElement, style=body.style, vendor = ['webkit' , 'khtml' , 'moz' , 'ms' , 'o'], i = 0; while(i... 阅读全文
摘要:
const _ARRAY_NAME = "[object Array]" const _OBJECT_NAME = "[object Object]" //扩展 export function extend(target) { var targets, arg = Array.from(arguments).slice(1,arguments.length); if(arg.... 阅读全文