File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -69,19 +69,15 @@ sweetAlert({
6969A prompt modal where the user's input is logged:
7070
7171``` javascript
72- sweetAlert ({
73- title: " Are you sure? " ,
74- text: " You will not be able to recover this imaginary file! " ,
75- type: " warning " ,
72+ sweerAlert ({
73+ title: " An input! " ,
74+ text: ' Write something interesting: ' ,
75+ type: ' input ' ,
7676 showCancelButton: true ,
77- confirmButtonColor: " #DD6B55" ,
78- confirmButtonText: " Yes, delete it!" ,
7977 closeOnConfirm: false ,
80- html: false
81- }, function (){
82- swal (" Deleted!" ,
83- " Your imaginary file has been deleted." ,
84- " success" );
78+ animation: " slide-from-top"
79+ }, function (inputValue ){
80+ console .log (" You wrote" , inputValue);
8581});
8682```
8783
@@ -111,7 +107,7 @@ If you want to contribute:
111107```
112108npm install
113109```
114- to install the dependencies and make Gulp automatically minify the SCSS and JS-files.
110+ to install the dependencies. Then run ``` gulp ``` while working to automatically minify the SCSS and JS-files.
115111
116112- After you're done, make a pull request and wait for approval! :)
117113
You can’t perform that action at this time.
0 commit comments