
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
merge-split-box
Advanced tools
merge box
<div id="box"></box>
import MSB from "merge-split-box"
const msb = new MSB("#box",2 ,6 );
let res = msb.getRes();
import MSB from "merge-split-box"
const msb = new MSB("#box",2 ,6 ,onChange);
let onChange=(res)=>{
console.log(res);
//...
}
可以是 id, #id, .class, dom元素
生成宫格的行数, Number类型
生成宫格的列数, Number类型
可选,每次操作以后的回调函数,有一个参数res, res是有效宫格的数组
可选,基础单元格的样式,目前只支持width, 默认每个单元格的宽度为100px。
例:
{
width:100
}
获取操作以后的结果函数, 返回一个res数组, res是有效宫格的数组
FAQs
merge box
We found that merge-split-box demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.