上一页 1 ··· 222 223 224 225 226 227 228 229 230 ··· 401 下一页
摘要: 首先是jquery.ui.widget.js中_createWidget方法内部调用 this._create(); this._trigger( "create", null, this._getCreateEventData() ); this._init(); 然后按照下图所示,逐个文件触发_ 阅读全文
posted @ 2019-07-01 15:46 ChuckLu 阅读(337) 评论(0) 推荐(0)
摘要: https://learn.jquery.com/jquery-ui/how-jquery-ui-works/ jQuery UI contains many widgets that maintain state and therefore may have a slightly differen 阅读全文
posted @ 2019-07-01 10:35 ChuckLu 阅读(269) 评论(0) 推荐(0)
摘要: How to Create a Basic Plugin Sometimes you want to make a piece of functionality available throughout your code. For example, perhaps you want a singl 阅读全文
posted @ 2019-07-01 10:16 ChuckLu 阅读(170) 评论(0) 推荐(0)
摘要: npm notice created a lockfile as package-lock.json. You should commit this file. https://docs.npmjs.com/files/package-lock.json https://stackoverflow. 阅读全文
posted @ 2019-07-01 09:39 ChuckLu 阅读(5052) 评论(3) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-07-01 02:26 ChuckLu 阅读(1) 评论(0) 推荐(0)
摘要: 测试 修改https://github.com/tkvw/jQuery-File-Upload/blob/master/basic-plus.html 给p增加id和class,在页面加载后, 打开浏览器的console,然后手动执行,然后单击图片。会发现这个事件是会触发的 $(".preview" 阅读全文
posted @ 2019-07-01 01:27 ChuckLu 阅读(508) 评论(0) 推荐(0)
摘要: https://tkvw.github.io/jQuery-File-Upload/basic-plus-editor.html 最开始初始化jquery.ui.widget.js中的factory( jQuery ); jquery.fileupload.js中 1. }(function ($) 阅读全文
posted @ 2019-07-01 00:47 ChuckLu 阅读(380) 评论(0) 推荐(0)
摘要: 先触发_onChange【jquery.fileupload.js】 _onChange: function (e) { var that = this, data = { fileInput: $(e.target), form: $(e.target.form) }; this._getFile 阅读全文
posted @ 2019-06-30 18:36 ChuckLu 阅读(2008) 评论(0) 推荐(0)
摘要: 设置断点之后,查看的时候,注意右侧栏。 在调试按钮下方,有一个watch和call stack, 阅读全文
posted @ 2019-06-30 18:03 ChuckLu 阅读(6269) 评论(0) 推荐(0)
摘要: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply The apply() method calls a function with a given this 阅读全文
posted @ 2019-06-30 17:31 ChuckLu 阅读(270) 评论(0) 推荐(0)
上一页 1 ··· 222 223 224 225 226 227 228 229 230 ··· 401 下一页