File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 8
8
Boldly go where no CSS author has gone before...
9
9
10
10
Here's a taster:
11
-
12
11
```
13
12
#clickMe:click {
14
13
body {
@@ -17,6 +16,22 @@ Here's a taster:
17
16
}
18
17
```
19
18
19
+ Example of a component (because you love components):
20
+ ```
21
+ button:click {
22
+ render-after-end: "<hello-world></hello-world>";
23
+ }
24
+
25
+ @component hello-world private {
26
+ html {
27
+ <p>Hello world</p>
28
+ }
29
+ p:click {
30
+ alert: "Why are you clicking me, you crazy!";
31
+ }
32
+ }
33
+ ```
34
+
20
35
Ultra-fast. No pre-processing. No virtual DOM. Runs in real-time in the browser.<br >
21
36
All DOM events are supported, plus CSS commands up to level 4 (if browser supported).<br >
22
37
Works on chromium browsers (Chrome, Edge, Opera, etc.) and Firefox. (ES6+)
You can’t perform that action at this time.
0 commit comments