
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
bigview-runtime
Advanced tools
进行 pagelet 渲染的时候,需要在页面引入该类库,从而确保吐出的数据能够进行正常的渲染
<script src="./node_modules/bigview-runtime/bigview.runtime.min.js"></script>
pagelet 在回吐浏览器的时候,会持续写入
bigview.view({
domid: '', // 与页面的某个节点的 ID 进行绑定
css: '', // 需要引入的样式地址
js: '', // 需要引入 JS 脚本地址
html: '' // 需要渲染的 html 内容
callback: function () {} // 执行完成 script 或者 html 添加完成后的回调
})
监听某个事件;
触发某个事件;
bigview 处于ready状态,即完成布局,开始执行页面 JS;
某个 pagelet 渲染前开始触发;
某个 pagelet 抵达浏览器,开始进行渲染;
页面所有 pagelet 渲染完成后触发;
你可以在浏览器控制台输入:
localStorage._bigview = true
开启调试模式, 在浏览器控制台查看每个 pagelet 的渲染信息;
请查看自己的模板代码 script 标签内请移除掉注释。
支持 lifecycle 的判断,决定什么时候触发渲染;
支持 pagelet 的 attr 属性,对当前 domID 的元素进行 attr 的绑定;
FAQs
a JS framework to render pagelet in web browser
We found that bigview-runtime 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.