File tree Expand file tree Collapse file tree 3 files changed +51
-8
lines changed Expand file tree Collapse file tree 3 files changed +51
-8
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ With MDB-VSCode-snippets you can use shortcuts instead of writing whole code.
55
55
- [ Inputs] ( #inputs )
56
56
- [ Slider] ( #slider )
57
57
- [ Switch] ( #switch )
58
+ - Modals
59
+ - [ Basic Modals] ( #basic-modals )
58
60
59
61
60
62
#### General
@@ -179,20 +181,22 @@ Name of component | Shortcut
179
181
------------ | -------------
180
182
Material Switch | !mdb-switch
181
183
184
+ #### Basic Modals
185
+ Name of component | Shortcut
186
+ ------------ | -------------
187
+ Basic Example | !mdb-modal
188
+
189
+ -----------------------------------------------------------------------------------------------------------
190
+
191
+ ## Versions
192
+
182
193
### 1.1.0
183
194
New snippets for MDB components.
184
195
### 1.0.0
185
196
Initial release of MDBootstrap-VSCode-snippets.
186
197
187
198
-----------------------------------------------------------------------------------------------------------
188
199
189
- ### Instalation
190
- 1 . Launch Visual Studio Code
191
- 2 . Go to extensions tab - Ctrl-Shift-X (Windows, Linux) or Cmd-Shift-X (OSX)
192
- 3 . Search for 'mdbsnippets'
193
- 4 . Choose the extension
194
- 5 . Install extension and reload Visual Studio Code
195
-
196
200
### For more information
197
201
- Visit [ MDBootstrap Page] ( https://mdbootstrap.com/ ) .
198
202
- Get [ MDB FREE] ( https://mdbootstrap.com/docs/jquery/getting-started/download/ ) .
Original file line number Diff line number Diff line change 95
95
{
96
96
"language" : " html" ,
97
97
"path" : " ./snippets/html/components/panels.json"
98
- },{
98
+ },
99
+ {
99
100
"language" : " html" ,
100
101
"path" : " ./snippets/html/components/alerts.json"
102
+ },
103
+ {
104
+ "language" : " html" ,
105
+ "path" : " ./snippets/html/modals/basic-examples.json"
101
106
}
102
107
]
103
108
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "MDBootstrap Basic Modal" : {
3
+ "prefix" : " !mdb-modal" ,
4
+ "body" : [
5
+ " <!-- Button trigger modal -->" ,
6
+ " <button type=\" button\" class=\" btn btn-primary\" data-toggle=\" modal\" data-target=\" #basicExampleModal\" >" ,
7
+ " Launch demo modal" ,
8
+ " </button>" ,
9
+ " " ,
10
+ " <!-- Modal -->" ,
11
+ " <div class=\" modal fade\" id=\" basicExampleModal\" tabindex=\" -1\" role=\" dialog\" aria-labelledby=\" exampleModalLabel\" aria-hidden=\" true\" >" ,
12
+ " <div class=\" modal-dialog\" role=\" document\" >" ,
13
+ " <div class=\" modal-content\" >" ,
14
+ " <div class=\" modal-header\" >" ,
15
+ " <h5 class=\" modal-title\" id=\" exampleModalLabel\" >Modal title</h5>" ,
16
+ " <button type=\" button\" class=\" close\" data-dismiss=\" modal\" aria-label=\" Close\" >" ,
17
+ " <span aria-hidden=\" true\" >×</span>" ,
18
+ " </button>" ,
19
+ " </div>" ,
20
+ " <div class=\" modal-body\" >" ,
21
+ " ..." ,
22
+ " </div>" ,
23
+ " <div class=\" modal-footer\" >" ,
24
+ " <button type=\" button\" class=\" btn btn-secondary\" data-dismiss=\" modal\" >Close</button>" ,
25
+ " <button type=\" button\" class=\" btn btn-primary\" >Save changes</button>" ,
26
+ " </div>" ,
27
+ " </div>" ,
28
+ " </div>" ,
29
+ " </div>"
30
+ ],
31
+ "description" : " Creates MDbootstrap Basic Modal"
32
+ }
33
+
34
+ }
You can’t perform that action at this time.
0 commit comments