mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Update README.md
This commit is contained in:
parent
3c604ed11f
commit
3b3e10d1e1
@ -42,7 +42,7 @@ number of times the button has been clicked. [Try this example now!](http://mark
|
|||||||
__click-count.marko__
|
__click-count.marko__
|
||||||
```jsx
|
```jsx
|
||||||
class {
|
class {
|
||||||
constructor() {
|
onCreate() {
|
||||||
this.state = { count:0 };
|
this.state = { count:0 };
|
||||||
}
|
}
|
||||||
increment() {
|
increment() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user