For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/type-config.config.enablecssrule.md.
This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/type-config > Config > enableCSSRule

Config.enableCSSRule property

Controls unified CSS rule support in template CSS encoding and decoding. When enabled, CSS rules such as style, media, supports, keyframes, font-face, and layer rules are parsed and decoded through the unified rule path.

Supported platform: Android, HarmonyOS, iOS

Since: LynxSDK 4.0

Signature:

enableCSSRule?: boolean;

Default Value

false