mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	Updated demos.
This commit is contained in:
		@@ -4,24 +4,26 @@
 | 
				
			|||||||
      <td style="width: 20%">Modes:</td>
 | 
					      <td style="width: 20%">Modes:</td>
 | 
				
			||||||
      <td></td>
 | 
					      <td></td>
 | 
				
			||||||
    </tr>
 | 
					    </tr>
 | 
				
			||||||
    <tr>
 | 
					 | 
				
			||||||
      <td><b>Simple</b></td>
 | 
					 | 
				
			||||||
      <td>Yet another boring modal :)</td>
 | 
					 | 
				
			||||||
    </tr>
 | 
					 | 
				
			||||||
    <tr>
 | 
					    <tr>
 | 
				
			||||||
      <td><b>Adaptive</b></td>
 | 
					      <td><b>Adaptive</b></td>
 | 
				
			||||||
      <td>Tries to adjust to the page size</td>
 | 
					      <td>Tries to adjust to the page size.</td>
 | 
				
			||||||
    </tr>
 | 
					    </tr>
 | 
				
			||||||
    <tr>
 | 
					    <tr>
 | 
				
			||||||
      <td><b>Resizable</b></td>
 | 
					      <td><b>Resizable</b></td>
 | 
				
			||||||
      <td>
 | 
					      <td>
 | 
				
			||||||
        Has a small arrow on the bottom-right corner (customizable) that you can drag to change the size of the modal
 | 
					        Has a small arrow on the bottom-right corner (customizable) that you can drag to change the size of the modal.
 | 
				
			||||||
      </td>
 | 
					      </td>
 | 
				
			||||||
    </tr>
 | 
					    </tr>
 | 
				
			||||||
    <tr>
 | 
					    <tr>
 | 
				
			||||||
      <td><b>Draggable</b></td>
 | 
					      <td><b>Draggable</b></td>
 | 
				
			||||||
      <td>
 | 
					      <td>
 | 
				
			||||||
        Allows to drag modal on the screen
 | 
					        Allows to drag modal on the screen.
 | 
				
			||||||
 | 
					      </td>
 | 
				
			||||||
 | 
					    </tr>
 | 
				
			||||||
 | 
					    <tr>
 | 
				
			||||||
 | 
					      <td><b>Scrollable</b></td>
 | 
				
			||||||
 | 
					      <td>
 | 
				
			||||||
 | 
					        If <i>height</i> is set to "auto" - <i>scrollable</i> flag will make your modal... scrollable.
 | 
				
			||||||
      </td>
 | 
					      </td>
 | 
				
			||||||
    </tr>
 | 
					    </tr>
 | 
				
			||||||
  </table>
 | 
					  </table>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,7 @@
 | 
				
			|||||||
<template> 
 | 
					<template> 
 | 
				
			||||||
  <modal name="size-modal"
 | 
					  <modal name="size-modal"
 | 
				
			||||||
        transition="nice-modal-fade"
 | 
					        transition="nice-modal-fade"
 | 
				
			||||||
 | 
					        classes="demo-modal-class"
 | 
				
			||||||
        :min-width="200"
 | 
					        :min-width="200"
 | 
				
			||||||
        :min-height="200" 
 | 
					        :min-height="200" 
 | 
				
			||||||
        :pivot-y="0.25"
 | 
					        :pivot-y="0.25"
 | 
				
			||||||
@@ -48,4 +49,14 @@
 | 
				
			|||||||
    padding: 10px;
 | 
					    padding: 10px;
 | 
				
			||||||
    font-style: 13px;
 | 
					    font-style: 13px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .v--modal-overlay[data-modal="size-modal"] {
 | 
				
			||||||
 | 
					    background: rgba(0, 0, 0, 0.5);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .demo-modal-class {
 | 
				
			||||||
 | 
					    border-radius: 5px;
 | 
				
			||||||
 | 
					    background: #F7F7F7;
 | 
				
			||||||
 | 
					    box-shadow: 5px 5px 30px 0px rgba(46,61,73, 0.6);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user