会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ajanuw
做自己的King
博客园
首页
管理
上一页
1
···
35
36
37
38
39
40
下一页
2018年1月29日
可访问性(Accessibility) => 无障碍功能
摘要: 了解无障碍功能及其范围和影响可令您成为更出色的网络开发者 "https://developers.google.cn/web/fundamentals/accessibility/" ARIA 简介 "https://developers.google.cn/web/fundamentals/acc
阅读全文
posted @ 2018-01-29 10:40 Ajanuw
阅读(486)
评论(0)
推荐(0)
2018年1月26日
web -- Navigator.vibrate(); 使设备(有振动硬件)产生有频率的振动
摘要: "MDN 文档" 此方法需要用户手势。 否则,它返回false。 javascript const koa2 = require( ); const Router = require( ); const router = new Router(); const app = new koa2(); c
阅读全文
posted @ 2018-01-26 11:14 Ajanuw
阅读(839)
评论(0)
推荐(0)
2018年1月13日
html5__Notifications API 桌面通知
摘要: "MDN地址" google 文档 "https://developers.google.cn/web/fundamentals/push notifications/" javascript const koa2 = require( ); const Router = require( ); c
阅读全文
posted @ 2018-01-13 13:15 Ajanuw
阅读(238)
评论(0)
推荐(0)
2018年1月8日
js监听指定元素的css动画属性
摘要: "MDN" 监听css动画,开始,迭代次数,结束,中断 回调函数返回 animationEvent属性 html <!DOCTYPE html .a { width: 100px; height: 100px; background: red; animation: test 2.5s cubic
阅读全文
posted @ 2018-01-08 21:53 Ajanuw
阅读(1294)
评论(0)
推荐(0)
2018年1月4日
node_readline (逐行读取)
摘要: "node官方文档" 用于逐行读取文件流, 和终端交互 读取文件流 终端交互 javascript const readline = require('readline'); const util = require('util'); const rl = readline.createInterf
阅读全文
posted @ 2018-01-04 21:45 Ajanuw
阅读(501)
评论(0)
推荐(0)
2018年1月1日
css动画 aniamtion & @keyframes
摘要: "MDN animation文档" animation: [name] [duration] [timing function] [delay] [iteration cont] [direction] [fill mode] [play state] 初始值 animation name: non
阅读全文
posted @ 2018-01-01 14:25 Ajanuw
阅读(160)
评论(0)
推荐(0)
2017年12月31日
js的一些function
摘要: /** * * 根据秒数返回 一个日期范围 * timerFilter(10) */ function timerFilter(n) { let days = 31; // 一月多少天 const oneM = 60; // 一分钟s const halfAnHour = oneM * 30; //
阅读全文
posted @ 2017-12-31 22:59 Ajanuw
阅读(476)
评论(0)
推荐(0)
2017年12月25日
js的server worker创建子进程
摘要: 类似nodejs的 child_process.fork() 动态创建server.js文件 js const workerJSString = ` // 接收主线程发来的的数据 onmessage = ({data})= { // 向主线程发送data console.log(\ ); postM
阅读全文
posted @ 2017-12-25 13:06 Ajanuw
阅读(978)
评论(0)
推荐(0)
2017年12月22日
js函数 test.caller 谁在调用test函数
摘要: 返回调用指定函数的函数. javascript function test() { if (test.caller === null) console.log('test 函数在全局调用'); // 获取调用 test函数, 的函数名 console.log(test.caller.name );
阅读全文
posted @ 2017-12-22 10:43 Ajanuw
阅读(152)
评论(0)
推荐(0)
2017年12月20日
html 预览图片
摘要: MDN 文档 首先你需要让用户上传图片 <input type="file" accept="image/*" id="upfile" /> 默认会让用户在 相册 或则 摄像头 中选择,如果加上 capture="camera" 则默认打开摄像头 当上传图片时,先在本地预览图片 document.q
阅读全文
posted @ 2017-12-20 19:51 Ajanuw
阅读(133)
评论(0)
推荐(0)
上一页
1
···
35
36
37
38
39
40
下一页