File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ <h2 class="section-title">Basic component</h2>
40
40
< section class ="section-description ">
41
41
< h2 class ="section-title "> Component costraind in parent</ h2 >
42
42
< p > Component that cannot be dragged or resized outside its parent element, defined with the prop < code > :parent="true"</ code > </ p >
43
- < pre > <vue-draggable-resizable :parent="true">
43
+ < pre > <vue-draggable-resizable :parent="true" :maximize="true" >
44
44
<p>You cannot move or resize me outside my parent.</p>
45
45
</vue-draggable-resizable></ pre >
46
46
< p > < b > Bonus:</ b > a component constrained in parent, can automatically fill the space just by double-clicking on it.</ p >
47
47
</ section >
48
48
49
49
< div id ="app2 ">
50
50
< div style ="height: 300px; border: 1px solid blue; margin: 1em; ">
51
- < vue-draggable-resizable :parent ="true " style ="border: 1px solid black; ">
51
+ < vue-draggable-resizable :parent ="true " :maximize =" true " style ="border: 1px solid black; ">
52
52
< p > You cannot move me or resize me outside my parent.</ p >
53
53
</ vue-draggable-resizable >
54
54
</ div >
You can’t perform that action at this time.
0 commit comments