diff --git a/documentation/docs/02-runes/02-$state.md b/documentation/docs/02-runes/02-$state.md index 77140dc6903d..b43ac9818cc2 100644 --- a/documentation/docs/02-runes/02-$state.md +++ b/documentation/docs/02-runes/02-$state.md @@ -109,6 +109,14 @@ You can either use an inline function... ``` +...or re-bind the function to its object... + +```svelte + +``` + ...or use an arrow function in the class definition: ```js