抱歉,您的浏览器无法访问本站

本页面需要浏览器支持(启用)JavaScript


了解详情 >

简介Egret是个开发套件,他内部有很多开发相关的软件.第一眼看到很懵的.所以这里先简单介绍下. 说明Egret Engine2D/3D: 白鹭引擎包含了白鹭时代研发的遵循HTML5标准的游戏引擎。他包括 2D / 3D 渲染核心、GUI体系、音频管理、资源管理等游戏引擎的常用模块。通过使用白鹭引擎,开发者可以尽可能的不用关注浏览器的底层实现,解决HTML5游戏性能问题及碎片化问题,灵活地满...
ll get the right width. reserveSpace(entry.target, entry.boundingClientRect); }); }, { rootMargin: "500px 0px 500px 0px" } ); let rObs = new ResizeObserver((entries, o) => { entries.forEach((entry) => { reserveSpace(entry.target, entry.contentRect); }); }); let resizeResilientDeferredRendering = (Selector) => { let articles = document.querySelectorAll(Selector); if (articles.length) { articles.forEach((el) => { iObs.observe(el); rObs.observe(el); }); // Workaround for Chrome bug, part 2. // // Re-enable browser management of rendering for the // first article after the first paint. Double-rAF // to ensure we get called after a layout. requestAnimationFrame(() => { requestAnimationFrame(() => { articles[0].style["content-visibility"] = "auto"; }); }); } }; let contentVisibilityScrollFix = () => { if (!("content-visibility" in document.documentElement.style)) { return; } resizeResilientDeferredRendering(".post-story"); resizeResilientDeferredRendering("article"); resizeResilientDeferredRendering(".post-wrapper"); }; contentVisibilityScrollFix(); volantis.pjax.push(contentVisibilityScrollFix);