【文件属性】:
文件名称:jspath-chain-wrapper:提供 jspath 的包装器
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-12 05:57:58
JavaScript
Jspath 链包装器
提供围绕的包装器,允许您将调用链接在一起,无论有没有上下文
例子
PathWrapper('..{.color === "red"}').apply({a:{b:{color:"red"}}}).map(console.log).set("color","blue").map(console.log).prep('..{.color === "blue"}').map(console.log).set("background-color","red").map(console.log).delete("color").map(console.log).get().forEach(function(item){ console.log("this is an array item"); })
构造函数
路径包装器(“路径”)
PathWrapper(“路径”,对象
【文件预览】:
jspath-chain-wrapper-master
----jspath-chain-wrapper.js(2KB)
----package.json(599B)
----.gitignore(35B)
----README.md(1KB)
----bower.json(530B)