Skip to content

sethink/js-lib

Repository files navigation

js-lib

介绍

js常用库。兼容NodeJS和JavaScript

手册跳转

使用(Spl开头库)

NodeJS中使用

var SplString = require('./SplString');
var ip = SplString.hex2ip("C0A80A16");

html中使用

<script src="./SplString.js"></script>
<script>
var ip = SplString.hex2ip('C0A80A16');
</script>

Vue中使用

import SplString from "./SplString.js";
var ip = SplString.hex2ip('C0A80A16');

使用(函数库)

tap

模拟tap事件,代替onclick

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published