Update docs/api/main-config/main-config-features.mdx

Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
This commit is contained in:
Norbert de Langen 2024-07-29 11:38:39 +02:00 committed by GitHub
parent f380221484
commit 0678a2ad01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,10 +50,22 @@ Filter args with a "target" on the type from the render function.
Type: `boolean`
Use the modern viewport story globals API.
Configures the [Viewports addon](../../essentials/backgrounds.mdx) to opt-in to the new story globals API for configuring viewports.
{/* prettier-ignore-start */}
<CodeSnippets path="main-config-features-viewport-story-globals.md" />
{/* prettier-ignore-end */}
## `backgroundsStoryGlobals`
Type: `boolean`
Use the modern backgrounds story globals API.
Configures the [Backgrounds addon](../../essentials/backgrounds.mdx) to opt-in to the new story globals API for configuring backgrounds.
{/* prettier-ignore-start */}
<CodeSnippets path="main-config-features-backgrounds-story-globals.md" />
{/* prettier-ignore-end */}