forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBottomSheet.json
More file actions
91 lines (78 loc) · 2.56 KB
/
BottomSheet.json
File metadata and controls
91 lines (78 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"mixins": [ "utils/global-dialog" ],
"meta": {
"docsUrl": "https://v1.quasar.dev/quasar-plugins/bottom-sheet"
},
"injection": "$q.bottomSheet",
"methods": {
"create": {
"tsInjectionPoint": true,
"desc": "Creates an ad-hoc Bottom Sheet; Same as calling $q.bottomSheet(...)",
"params": {
"opts": {
"desc": "Bottom Sheet options",
"definition": {
"title": {
"type": "String",
"desc": "Title",
"examples": [ "Share" ]
},
"message": {
"type": "String",
"desc": "Message",
"examples": [ "Please select how to share" ]
},
"actions": {
"type": "Array",
"desc": "Array of Objects, each Object defining an action",
"definition": {
"classes": {
"type": [ "String", "Array", "Object" ],
"desc": "CSS classes for this action",
"examples": [ "my-class" ]
},
"icon": {
"extends": "icon"
},
"img": {
"type": "String",
"desc": "Path to an image for this action",
"examples": [
"(public folder) img/something.png",
"(relative path format) :src=\"require('./my_img.jpg')\"",
"(URL) https://some-site.net/some-img.gif"
]
},
"avatar": {
"type": "Boolean",
"desc": "Display img as avatar (round borders)"
},
"label": {
"type": [ "String", "Number" ],
"desc": "Action label",
"examples": [ "Facebook" ]
}
}
},
"grid": {
"type": "Boolean",
"desc": "Display actions as a grid instead of as a list"
},
"dark": {
"extends": "dark",
"desc": "Apply dark mode"
},
"seamless": {
"type": "Boolean",
"desc": "Put Bottom Sheet into seamless mode; Does not use a backdrop so user is able to interact with the rest of the page too"
},
"persistent": {
"type": "Boolean",
"desc": "User cannot dismiss Bottom Sheet if clicking outside of it or hitting ESC key"
}
}
}
}
}
}
}