Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

yzflhez-js-function

yzflhez76ISC0.2.3

js常用函数

js, function, 函数, 常用函数, 深度拷贝, cookie, js运动

readme

export default { DeepCopy: deepCopy,WebHashFn: webHashFn,GetCookie: getCookie,SetCookie: setCookie,StrToJson: strToJson,ShuziFn: shuziFn,SuZi: susi};

** 版权属于yzflhez@126.com

DeepCopy深度拷贝

WebHashFn获取对应的hash值

StrToJson转形式dd=12&sss=343434?ca => {dd:12,sss:343434}

ShuziFn数字转汉子形式

SuZi(val, baifenbi)转千分形式;转百分比

GetClass获取class

GetStyle最终样式

StartMove(oDiv,{width:300,height:300,left:300},3000, 'linear', function(){})js运动

github页面 https://github.com/yzfdldx/node-js-function

npm页面 https://www.npmjs.com/package/yzflhez-js-function

模块引入

~ npm install yzflhez-js-function --save
~ import { DeepCopy } from 'yzflhez-js-function';