mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
10 lines
149 B
Plaintext
10 lines
149 B
Plaintext
class {
|
|
onCreate() {
|
|
this.state = { count:0 };
|
|
}
|
|
increment() {
|
|
this.state.count++;
|
|
}
|
|
}
|
|
|
|
-- Hello World ${state.count} |