pull/2929/head
Tuğçe Küçükoğlu 2022-09-01 16:00:22 +03:00
parent 1f65c0892f
commit f9c5d8ffda
3 changed files with 5 additions and 5 deletions

View File

@ -26,9 +26,9 @@ const SplitterProps = [
{
name: "step",
type: "number",
default: "1",
default: "5",
description: "Step factor to increment/decrement the size of the panels while pressing the arrow keys."
},
}
];
const SplitterEvents = [

View File

@ -35,7 +35,7 @@ export default {
},
step: {
type: Number,
default: 1
default: 5
}
},
dragging: false,

View File

@ -127,7 +127,7 @@ import SplitterPanel from 'primevue/splitterpanel';
</code></pre>
<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>
&lt;Splitter :step="10"&gt;
&lt;SplitterPanel&gt;
@ -209,7 +209,7 @@ import SplitterPanel from 'primevue/splitterpanel';
<tr>
<td>step</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>
</tr>
</tbody>