文件名称:Breakpoint-Manager
文件大小:3KB
文件格式:ZIP
更新时间:2024-08-02 16:24:45
JavaScript
使用简单的断点定义和回调语法简化您的 Javascript 断点 BreakpointManager = require "breakpoint-manager" $(document).bind "breakpoint:match", (e, breakpoint) => if breakpoint is "desktop" @onDesktop() else @onMobile() breakpointManager = new BreakpointManager scope: $(document) breakpoints: mobile: min: null max: 799 desktop: min: 800 max: null
【文件预览】:
Breakpoint-Manager-master
----.gitignore(27B)
----package.json(788B)
----src()
--------breakpoint-manager.coffee(1KB)
----gulpfile.js(629B)
----README.md(443B)
----lib()
--------breakpoint-manager.js(1KB)