diff --git a/.changeset/tricky-laws-camp.md b/.changeset/tricky-laws-camp.md new file mode 100644 index 000000000000..9733c0f1c6ec --- /dev/null +++ b/.changeset/tricky-laws-camp.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': minor +--- + +feat: allow link options to be set to `"true"` and `"false"` diff --git a/documentation/docs/30-advanced/30-link-options.md b/documentation/docs/30-advanced/30-link-options.md index bfd309cee649..115429801aca 100644 --- a/documentation/docs/30-advanced/30-link-options.md +++ b/documentation/docs/30-advanced/30-link-options.md @@ -104,7 +104,7 @@ In certain cases, you may wish to disable this behaviour. Adding a `data-sveltek ## Disabling options -To disable any of these options inside an element where they have been enabled, use the `"off"` value: +To disable any of these options inside an element where they have been enabled, use the `"false"` value: ```html