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: docs/intro/get-started.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,19 +30,19 @@ Then this element can be used anywhere in HTML
30
30
31
31
A Van Element leverages native custom elements to automatically hydrate HTML with VanJS reactivity. It retains all the [benefits from VanJS](https://vanjs.org/#why-vanjs) with a few extra ones:
32
32
33
-
### Reusability
33
+
-### Reusability
34
34
35
35
Once defined, Van Elements can be added, removed and reused anywhere in your HTML with a simple custom tag.
36
36
37
-
### Portability
37
+
-### Portability
38
38
39
39
Van Elements are standard Web Components that can work with any framework or templating language. You can use them in backend templating or inside frontend libraries like React, Vue or Svelte.
40
40
41
-
### Isolation
41
+
-### Isolation
42
42
43
43
Thanks to the Shadow DOM, Van Elements benefit from style encapsulation and won't conflict with existing styles or other Web Components.
44
44
45
-
### Control
45
+
-### Control
46
46
47
47
Van Elements can access the [custom element lifecycle](../learn/lifecycle) and manipulate Shadow DOM utilities like [slots](../learn/slots) to make it easier to build interactive components.
0 commit comments