Vue日常开发问题
摘要:1.sh: webpack-dev-server: command not found 2. 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/Cellar/nvm/0.37.2/versions/node/v10.15.
阅读全文
posted @
2019-05-30 10:21
洛易
阅读(284)
推荐(0) 编辑
Jquery 获取对象的几种方式介绍
摘要:1、JQuery的核心的一些方法 each(callback) '就像循环 $("Element").length; ‘元素的个数,是个属性 $("Element").size(); '也是元素的个数,不过带括号是个方法 $("Element").get(); ‘某个元素在页面中的集合,以数组的形式
阅读全文
posted @
2016-03-09 08:53
洛易
阅读(1655)
推荐(0) 编辑
javascript:void(0)和onclick=fn(this)
摘要:今天在写代码中遇到一个这样的问题。关于点击在html中添加点击事件,顺便把this对象通过参数传过去。 <a href='#' \>查看详情</a> <a href='javascript:markResolve(this);' \>标记解决</a> <a href='#' \>同步</a> 但是这
阅读全文
posted @
2016-02-24 17:00
洛易
阅读(380)
推荐(0) 编辑
ionic emulate android log
摘要:RubertdeMacBook-Pro:myApp Rubert$ ionic emulate androidRunning command: /Users/Rubert/myApp/hooks/after_prepare/010_add_platform_class.js /Users/Rube...
阅读全文
posted @
2014-10-22 23:26
洛易
阅读(2561)
推荐(0) 编辑
ionic build android log
摘要:RubertdeMacBook-Pro:~ Rubert$ ionic build androidCurrent working directory is not a Cordova-based project.RubertdeMacBook-Pro:~ Rubert$ cd myApp/Ruber...
阅读全文
posted @
2014-10-22 23:19
洛易
阅读(4398)
推荐(0) 编辑
ionicframework(二)
摘要:Start building with Ionic!Follow these quick steps and start building high quality mobile apps in minutes. For a more indepth ...
阅读全文
posted @
2014-10-22 00:18
洛易
阅读(800)
推荐(0) 编辑
ionicframework(一)
摘要:官方网站 http://ionicframework.com然后在Get Start里面可以了解到,安装Ionic需要安装 Node.js. 文件来源 http://www.tuicool.com/articles/VJBnIva和http://blog.nodejs.org/2014/09/16/...
阅读全文
posted @
2014-10-21 21:43
洛易
阅读(13497)
推荐(0) 编辑
前端之JavaScript(1) - 浅谈JavaScript函数与栈
摘要:Javascript中会经常用到setTimeout来推迟一个函数的执行,如:1setTimeout(function(){2alert("Hello World");3},1000);会在执行到这句话后延迟1秒钟来弹出alert窗口。那么再看这一段:1function test(){2setTim...
阅读全文
posted @
2013-04-14 22:43
洛易
阅读(177)
推荐(0) 编辑