
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@alifd/biz-anchor
Advanced tools
npm i @alifd/biz-anchor
2.0.0
后增加跟随页面滚动自动切换 active 态功能
继承 Affix 所有能力
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
offsetTop | 菜单距离顶部偏离的固定高度 | false | Number | 0 | |
noHash | 不修改hash | false | Number | 0 | |
content | 返回关注内容的node节点, 自动生成目录 | false | documentNode | 0 | |
scrollNode | 指定要监听的滚动节点(默认监听 window 对象),如需修改指定该参数 | false | window | 0 |
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
active | - | bool | false |
FAQs
anchor
The npm package @alifd/biz-anchor receives a total of 24 weekly downloads. As such, @alifd/biz-anchor popularity was classified as not popular.
We found that @alifd/biz-anchor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 open source maintainers 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.