parent
e4fb777e31
commit
d6035ee890
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ The first idea may be to assign a separate handler to each button. But there's a
|
|||
|
||||
The handler reads the attribute and executes the method. Take a look at the working example:
|
||||
|
||||
```html autorun height=60 run untrusted
|
||||
```html autorun height=60 run
|
||||
<div id="menu">
|
||||
<button data-action="save">Save</button>
|
||||
<button data-action="load">Load</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue