短评 · ·

X 归档 2023-04-08

3 条动态 · 图 1 · 视频 1
💭 An interesting property when only rendering what is in the viewport is that we less components on smaller devices... which are generally less powerful

https://marmicode.io/blog/angular-signals-and-custom-render-strategies
💭 只渲染视口内的内容有一个有趣的附带效果:在性能通常较弱的小设备上,我们渲染的组件更少……

https://marmicode.io/blog/angular-signals-and-custom-render-strategies
@yjaaidi 的配图 1/1
3D HTML Form in VR 🥽 💻 🛠️
#threejs #b3d #javascript #vr #webgl #Oculus
VR 里的 3D HTML 表单 🥽 💻 🛠️
#threejs #b3d #javascript #vr #webgl #Oculus
'inert' is coming to Firefox! Soon we will no longer need focus traps or fieldset disabled hacks for making sections of our pages non-interactive during data submission loading or under imitated modal prompts 👍

Read more:
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert
'inert' 要登陆 Firefox 了!以后在数据提交加载期间或模拟模态弹窗的场景下,要让页面某些区域不可交互,我们再也不需要焦点陷阱或 fieldset disabled 这类 hack 了 👍

了解更多:
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert