Refactor #2913
parent
1f65c0892f
commit
f9c5d8ffda
|
@ -26,9 +26,9 @@ const SplitterProps = [
|
||||||
{
|
{
|
||||||
name: "step",
|
name: "step",
|
||||||
type: "number",
|
type: "number",
|
||||||
default: "1",
|
default: "5",
|
||||||
description: "Step factor to increment/decrement the size of the panels while pressing the arrow keys."
|
description: "Step factor to increment/decrement the size of the panels while pressing the arrow keys."
|
||||||
},
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SplitterEvents = [
|
const SplitterEvents = [
|
||||||
|
|
|
@ -35,7 +35,7 @@ export default {
|
||||||
},
|
},
|
||||||
step: {
|
step: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 1
|
default: 5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dragging: false,
|
dragging: false,
|
||||||
|
|
|
@ -127,7 +127,7 @@ import SplitterPanel from 'primevue/splitterpanel';
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<h5>Steps</h5>
|
<h5>Steps</h5>
|
||||||
<p>Step factor is 1px by default and can be customized with <i>step</i> option.</p>
|
<p>Step factor is 5px by default and can be customized with <i>step</i> option.</p>
|
||||||
<pre v-code><code>
|
<pre v-code><code>
|
||||||
<Splitter :step="10">
|
<Splitter :step="10">
|
||||||
<SplitterPanel>
|
<SplitterPanel>
|
||||||
|
@ -209,7 +209,7 @@ import SplitterPanel from 'primevue/splitterpanel';
|
||||||
<tr>
|
<tr>
|
||||||
<td>step</td>
|
<td>step</td>
|
||||||
<td>number</td>
|
<td>number</td>
|
||||||
<td>1</td>
|
<td>5</td>
|
||||||
<td>Step factor to increment/decrement the size of the panels while pressing the arrow keys.</td>
|
<td>Step factor to increment/decrement the size of the panels while pressing the arrow keys.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue