burry
v1.1.0
Published
一个 JS 工具库
Downloads
12
Readme
burry
一个 JS 工具库
使用方式
npm install burry
// es6模块系统
import { onHashChange } from "burry";
onHashChange(() => console.log("onHashChange"));
// 浏览器
// 引入
<script src="index.js"></script>;
// 使用
const callback = () => {
console.log('1');
}
burry.onHashChange(callback)