Skip to content

Commit 7b8ce01

Browse files
authored
fix(modal): Event args list in meta.json
1 parent 3361911 commit 7b8ce01

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

docs/components/modal/meta.json

+21-13
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"args": [
88
{
99
"arg": "is_visible",
10-
"description": ""
10+
"description": "true if modal is visble, false otherwise"
1111
}
1212
],
1313
"description": "new modal visibility state"
@@ -19,30 +19,38 @@
1919
{
2020
"event": "hidden",
2121
"description": "always emits after modal is hidden",
22-
"args": {
23-
"e": "Close event object. Non Cancellable: See docs"
24-
}
22+
"args": [
23+
{
24+
"e": "Close event object. Non Cancellable: See docs"
25+
}
26+
]
2527
},
2628
{
2729
"event": "hide",
2830
"description": "always emits just before modal has hidden",
29-
"args": {
30-
"e": "Close event object. Cancellable: See docs"
31-
}
31+
"args": [
32+
{
33+
"e": "Close event object. Cancellable: See docs"
34+
}
35+
]
3236
},
3337
{
3438
"event": "ok",
3539
"description": "when default OK button pressed, just before modal has hidden",
36-
"args": {
37-
"e": "Close event object. Cancellable: See docs"
38-
}
40+
"args": [
41+
{
42+
"e": "Close event object. Cancellable: See docs"
43+
}
44+
]
3945
},
4046
{
4147
"event": "cancel",
4248
"description": "when default CANCEL button pressed, just before modal has hidden",
43-
"args": {
44-
"e": "Close event object. Cancelable: See docs"
45-
}
49+
"args": [
50+
{
51+
"e": "Close event object. Cancelable: See docs"
52+
}
53+
]
4654
}
4755
],
4856
"slots": [

0 commit comments

Comments
 (0)