Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
Signed-off-by: schogges <[email protected]>
  • Loading branch information
schogges committed Jan 22, 2025
1 parent e799986 commit 54af0b7
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ Defining these "dependencies" here has several advantages:
4. Boolean route params are transformed correctly for the URL. In the above
example the resulting query parameter will be the existence of `?checked`
not `?checked=true` and `?checked=false`
5. Route params can be used as a state for input elements. In order to retrieve and update the route properties
we can use events. For example `<KCheckBox :model-value="route.params.checked" @change="(value) => route.update({ checked: value })" />`
will automatically sync the checkbox state to the `?checked` query parameter. This aims to make it easier to maintain
state in the browser URL and harder not to. Note that this does not work when using the two-way binding attribute `v-model`.

## Setting the `<title>` of the page

Expand Down

0 comments on commit 54af0b7

Please sign in to comment.