Skip to content

Commit ba37c30

Browse files
authored
Update example-html-edit.html
1 parent 1278390 commit ba37c30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Elroid-Example/example-html-edit.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div id="app">
1212
<h1>{{title}}</h1>
1313
<button el-click="Edit">Edit Tilte</button>
14-
<button el-click="Defult">Defult</button>
14+
<button el-click="Default">Default</button>
1515
</div>
1616

1717
<script>
@@ -23,7 +23,7 @@ <h1>{{title}}</h1>
2323
Edit() {
2424
app.update({ title: "Home" });
2525
},
26-
Defult() {
26+
Default() {
2727
app.update({ title: 'Welcome to Elroid Library' });
2828
}
2929
}
@@ -32,4 +32,4 @@ <h1>{{title}}</h1>
3232
</script>
3333
</body>
3434

35-
</html>
35+
</html>

0 commit comments

Comments
 (0)