为您找到相关结果19个

深入学习AngularJS中数据的双向绑定机制 - Lai18.com IT技术文章...

{ var list = document.querySelectorAll("[ng-click]"); for (var i=0; i<list.length; i++) { list[i].onclick = (function(index) { return ...
www.lai18.com/content/54488...html 2016-10-6

浏览器跨域访问方法总结 - Lai18.com IT技术文章收藏夹

'foo.com'; function aa(str) { console.log(str); } window.onload = function () { document.querySelector('#ifr').contentWindow.bb('aaa'); } ...
www.lai18.com/content/108584...html 2017-1-1

探索angularjs+requirejs全面实现按需加载的套路 - Lai18.com IT...

('link'); link.href = url; link.rel = 'stylesheet'; head = document.querySelector('head'); head.appendChild(link); }; loadCss('//cdn.bootcss...
www.lai18.com/content/54486...html 2016-5-26

Js和jQuery获取dom点击click事件下标index - Lai18.com IT技术...

// 纯js获取点击下标 var dotObj = document.querySelectorAll('.gallery-area .slide .dot span'); for (var i = 0; i < imgSize; i++...
www.lai18.com/content/25990...html 2015-12-22

DropZone.js入门 - Lai18.com IT技术文章收藏夹

{ var submitButton = document.querySelector("#submit-all") myDropzone = this; // closure //为上传按钮添加点击事件 submitButton.addEventListener("click",...
www.lai18.com/content/15042...html 2017-1-12

JavaScript快速切换繁体中文和简体中文的方法及网站支持简繁体...

('selected'); document.querySelector(".simpleChinese").removeCls('selected'); translate(document.body, traditionalized) Cookie.set(cookieName, true); }...
www.lai18.com/content/54491...html 2016-12-23

MUI组件四:选择器、滚动条、单选框、区域滚动和轮播组件 - Lai18....

var list = document.querySelector('.mui-table-view.mui-table-view-radio'); list.addEventListener('selected',function(e){ console.log("当前选中的为:"+...
www.lai18.com/content/245921...html 2017-1-12

ProgressBar.js – 漂亮的响应式 SVG 进度条 - Lai18.com IT技术...

{ var path = new ProgressBar.Path(scene.contentDocument.querySelector('#asterism-path'), { duration:   }); path.animate(1, function()...
www.lai18.com/content/3136...html 2014-11-24

花千骨的个人主页 - Lai18.com IT技术文章收藏夹

[查看] 花千骨 公开 2016-12-21 00:00 134 查看 Javascript 高性能编程 querySelectorAll children childElementCount 花千骨的文件夹 Python用UUID库生成唯一ID的...
www.lai18.com/user/2142...html 2017-1-11

解析3D标签云,其实很简单 - Lai18.com IT技术文章收藏夹

document.querySelector(".tagBall") : getClass("tagBall")[0]; RADIUS =300, fallLength = 500, tags=[], angleX = Math.PI/500, angleY = Math.PI...
www.lai18.com/content/47605...html 2016-12-14