为您找到相关结果91,674个
初识SmartJS - AOP三剑客_其它_脚本之家
隔了好久才终于又发布了一点东西,SmartJS是最近才开始搞的一个开源js库,目的是做一些比较有特点的事情(smartjs暂时也是依赖于jquery)。SmartJS的内容规划比较多,也无法在短时间全部完成,目前就以小版本一个个功能累加。第一期0.1版发布的内容主要是实现前端面向切面编程(AOP)的一些支持。1. PromiseEvent基于事件和pro...
www.jb51.net/article/50787.htm 2014-6-8
50个强大璀璨的CSS3/JS技术运用实例_css3_CSS_网页制作_脚本之家
I’ve been playing around doing a KeyNote like animation done with CSS and some JS to hook up the necessary events. The animation is kind of like a deck of cards. When you go to the next one the current one zooms in and fades out, symbolizing getting closer to the viewer. The next...
www.jb51.net/css/24701_a...html 2024-5-20
js基于FileSaver.js 浏览器导出Excel文件的示例_javascript技巧_脚本...
* See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md */ /*global self */ /*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */ /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js *...
www.jb51.net/article/1211...htm 2024-6-3
JS寄快递地址智能解析的实现代码_javascript技巧_脚本之家
// console.log('smart_parse'); } //这个待完善 const list = address.replace(detail.province,'').replace(detail.city,'').replace(detail.area,'').split(' ').filter(str => str); //详细住址划分关键字 //注意:只需要填写关键字最后一位即可:比如单元填写元即可!
www.jb51.net/article/1908...htm 2024-6-2
js实现时间显示几天前、几小时前或者几分钟前的方法集锦_javascript技巧...
这里汇总了js实现时间显示几天前、几小时前或者几分钟前的常见方法。分享给大家供大家参考。具体如下:方法一:个人做法是保存时间戳,然后在前端用jq插件做转换,比如 smart-time-ago方法二:(通过freemarker模板)如果用freemarker模板可以这样写,别的模板类推 根据自己的意愿修改条件和输出,把你的datetime传进去即可...
www.jb51.net/article/669...htm 2024-6-2