mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
8 lines
261 B
Plaintext
8 lines
261 B
Plaintext
static function handleButtonClick() {
|
|
window.buttonClickCalls.push(arguments);
|
|
}
|
|
|
|
<div>
|
|
<button key="ok" type="button" onClick(handleButtonClick, 'ok')>OK</button>
|
|
<button key="cancel" type="button" onClick(handleButtonClick, 'cancel')>Cancel</button>
|
|
</div> |