logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Jquery插件Nicescroll 制作滚动条

jquery.nicescroll.min.js滚动条使用方法,Nicescroll 是制作自定义滚动条的jq插件。支持div,iframe,html等使用,兼容IE7-8,safari,firefox,webkit内核浏览器(chrome,safari)以及智能终端设备浏览器的滚动条。页面使用:$("html").niceScroll({cursorcolor:"#E62020",curs

Vue学习之源码分析--聊聊Vue.js的template编译(七)

$mount首先看一下mount的代码/*把原本不带编译的$mount方法保存下来,在最后会调用。*/const mount = Vue.prototype.$mount/*挂载组件,带模板编译*/Vue.prototype.$mount = function (el?: string | Element,hydrating?: boolean): Component {e

gulp文件

//gulpfile.js'use strict';/*** 1. LESS编译 压缩 合并* 2. JS合并 压缩 混淆* 3. img复制* 4. html压缩*/// 在gulpfile中先载入gulp包,因为这个包提供了一些APIvar gulp = require('gulp');var less = require('gulp-less');var cssna

#less#gulp
到底了