Skip to content

Commit fb66967

Browse files
author
Maurizio Bonani
committed
Fix maximize in documentation
1 parent eb8b1da commit fb66967

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ <h2 class="section-title">Basic component</h2>
4040
<section class="section-description">
4141
<h2 class="section-title">Component costraind in parent</h2>
4242
<p>Component that cannot be dragged or resized outside its parent element, defined with the prop <code>:parent="true"</code></p>
43-
<pre>&lt;vue-draggable-resizable :parent="true"&gt;
43+
<pre>&lt;vue-draggable-resizable :parent="true" :maximize="true"&gt;
4444
&lt;p&gt;You cannot move or resize me outside my parent.&lt;/p&gt;
4545
&lt;/vue-draggable-resizable&gt;</pre>
4646
<p><b>Bonus:</b> a component constrained in parent, can automatically fill the space just by double-clicking on it.</p>
4747
</section>
4848

4949
<div id="app2">
5050
<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;">
5252
<p>You cannot move me or resize me outside my parent.</p>
5353
</vue-draggable-resizable>
5454
</div>

0 commit comments

Comments
 (0)