Skip to content

Commit

Permalink
docs(extras): deprecate scriptDataOpts (#1425)
Browse files Browse the repository at this point in the history
* docs(extras): deprecate scriptDataOpts

* show deprecation notice before prop description
  • Loading branch information
christian-bromann authored May 8, 2024
1 parent 3eeb5ec commit c7c38d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/config/extras.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ An experimental flag that when set to `true`, aligns the behavior of invoking th

### scriptDataOpts

:::caution
This option has been deprecated and will be removed in the next major Stencil release.
:::

It is possible to assign data to the actual `<script>` element's `data-opts` property, which then gets passed to Stencil's initial bootstrap. This feature is only required for very special cases and rarely needed. When set to `false` it will not read this data. Defaults to `false`.

### slotChildNodesFix
Expand Down

0 comments on commit c7c38d0

Please sign in to comment.