mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
9 lines
204 B
Plaintext
9 lines
204 B
Plaintext
class {}
|
|
$ function handleClick() {
|
|
component.setState('initNull', true);
|
|
}
|
|
|
|
<div>
|
|
<span.null>${state && state.initNull}</span>
|
|
<button key="button" onClick(handleClick)>Update</button>
|
|
</div> |