mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
11 lines
304 B
Plaintext
11 lines
304 B
Plaintext
<button id="toggle" on-click("toggle")>
|
|
Toggle. (current value: ${state.active})
|
|
</button>
|
|
|
|
<button id="dom-button" on-click(state.active && "handleDOMClick")>
|
|
Test DOM
|
|
</button>
|
|
|
|
<custom-button id="custom-button" on-button-click(state.active && 'handleCustomClick')>
|
|
Test Custom
|
|
</custom-button> |