mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	Added dist to git
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,3 @@ | ||||
| .DS_Store | ||||
| node_modules/ | ||||
| dist/ | ||||
| npm-debug.log | ||||
|   | ||||
							
								
								
									
										0
									
								
								build/.gkeep
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								build/.gkeep
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										3
									
								
								dist/vue-modal.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								dist/vue-modal.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -13,6 +13,7 @@ | ||||
|     </transition> | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
|   import Vue from 'vue'; | ||||
|   import VueModal from './modal'; | ||||
| @@ -107,6 +108,7 @@ | ||||
|     }, | ||||
|   }; | ||||
| </script> | ||||
|  | ||||
| <style> | ||||
|   .vue-modal-overlay { | ||||
|     position: fixed; | ||||
|   | ||||
							
								
								
									
										10
									
								
								src/modal.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/modal.js
									
									
									
									
									
								
							| @@ -15,13 +15,17 @@ const VueModal = { | ||||
|         const opts = typeof state === 'object' && typeof params === 'undefined' | ||||
|           ? state | ||||
|           : params; | ||||
|         VueModal.event.$emit('toggle', name, state); | ||||
|  | ||||
|         VueModal.event | ||||
|           .$emit('toggle', name, state); | ||||
|       }, | ||||
|       show(name, params = {}) { | ||||
|         VueModal.event.$emit('toggle', name, true); | ||||
|         VueModal.event | ||||
|           .$emit('toggle', name, true); | ||||
|       }, | ||||
|       hide(name, params = {}) { | ||||
|         VueModal.event.$emit('toggle', name, false); | ||||
|         VueModal.event | ||||
|           .$emit('toggle', name, false); | ||||
|       }, | ||||
|     }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user