File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
backends/go/site/static/md/examples Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ Dialogs can be triggered with the standard browser `prompt` and `confirm` within
18
18
<button
19
19
id =" dialogs"
20
20
data-store =" {prompt:'foo',confirm:false}"
21
- data-fetch-url =" "
22
- data-on-click =" $prompt=prompt('Enter a string',$prompt);$confirm=confirm('Are you sure?');$confirm && $$get('/examples/dialogs___browser/sure')"
21
+ data-on-click =" $prompt=prompt('Enter a string',$prompt);$confirm=confirm('Are you sure?'); $confirm && $$get('/examples/dialogs___browser/sure')"
23
22
>
24
23
Click Me
25
24
</button >
Original file line number Diff line number Diff line change 18
18
This example shows how to lazily load an element on a page. We start with an initial state that looks like this:
19
19
20
20
``` html
21
- <div data-fetch-url = " " data- on-load =" $$get('/examples/lazy_load/graph')" >
21
+ <div data-on-load =" $$get('/examples/lazy_load/graph')" >
22
22
Loading...
23
23
</div >
24
24
```
You can’t perform that action at this time.
0 commit comments