Skip to content

Commit a817518

Browse files
committed
Merge pull request #592 from tisto/master
Add missing ',' to actions examples.
2 parents 99122ee + 3ca58bf commit a817518

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ element to the select.
958958
{
959959
type: "actions",
960960
items: [
961-
{ type: 'submit', title: 'Ok' }
961+
{ type: 'submit', title: 'Ok' },
962962
{ type: 'button', title: 'Cancel', onClick: "cancel()" }
963963
]
964964
}
@@ -970,7 +970,7 @@ We can change this with ```style``` attribute:
970970
{
971971
type: "actions",
972972
items: [
973-
{ type: 'submit', style: 'btn-success', title: 'Ok' }
973+
{ type: 'submit', style: 'btn-success', title: 'Ok' },
974974
{ type: 'button', style: 'btn-info', title: 'Cancel', onClick: "cancel()" }
975975
]
976976
}
@@ -984,7 +984,7 @@ the ```sf-schema``` directive.
984984
985985
```javascript
986986
[
987-
{ type: 'submit', title: 'Ok', onClick: function(){ ... } }
987+
{ type: 'submit', title: 'Ok', onClick: function(){ ... } },
988988
{ type: 'button', title: 'Cancel', onClick: "cancel()" }
989989
[
990990
```
@@ -993,7 +993,7 @@ The submit and other buttons have btn-default as default.
993993
We can change this with ```style``` attribute:
994994
```javascript
995995
[
996-
{ type: 'submit', style: 'btn-warning', title: 'Ok', onClick: function(){ ... } }
996+
{ type: 'submit', style: 'btn-warning', title: 'Ok', onClick: function(){ ... } },
997997
{ type: 'button', style: 'btn-danger', title: 'Cancel', onClick: "cancel()" }
998998
[
999999
```

0 commit comments

Comments
 (0)