For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/type-config.config.enablegridplacementshorthands.md.
这是开发预览网站。请访问正式文档 lynxjs.org

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

Config.enableGridPlacementShorthands property

Controls whether the CSS parser accepts grid-column and grid-row shorthand syntax. When enabled, grid shorthand handlers parse placement shorthands into style values; when disabled, those shorthand declarations are rejected.

Supported platform: Android, iOS, HarmonyOS

Since: LynxSDK 3.9

Signature:

enableGridPlacementShorthands?: boolean;

Default Value

false