You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Framework/JsComponent.Svelte/src/lib/dotvvm-svelte.svelte.ts
+6-12Lines changed: 6 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -33,35 +33,29 @@ function getKnockoutContext(element: HTMLElement): KnockoutBindingContext {
33
33
/**
34
34
* Converts Svelte 5 component to DotVVM component usable through `<js:MyComponent />` syntax (or the JsComponent class).
35
35
* See [the complete guide](https://www.dotvvm.com/docs/4.0/pages/concepts/client-side-development/integrate-third-party-controls/svelte).
36
-
*
36
+
*
37
37
* The component will receive all properties, commands and templates as Svelte props.
38
38
* * Properties are plain JS objects and values, notably they don't contain any knockout observables
39
39
* * Commands are functions returning a promise, optionally expecting arguments if they were specified in the dothtml markup
40
-
* * Templates are only string IDs which can be passed to the `KnockoutTemplateSvelteComponent`
41
-
*
40
+
* * Templates are only string IDs which can be passed to the `KnockoutTemplateSvelteComponent`
41
+
*
42
42
* Additional property `setProps` is passed to the component, which can be used to update the component's properties (if the bound expression is updatable, otherwise it will throw an error).
0 commit comments