Skip to content

Commit

Permalink
Refactor #2913
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Sep 1, 2022
1 parent 1f65c08 commit f9c5d8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api-generator/components/splitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion src/components/splitter/Splitter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
},
step: {
type: Number,
default: 1
default: 5
}
},
dragging: false,
Expand Down
4 changes: 2 additions & 2 deletions src/views/splitter/SplitterDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit f9c5d8f

Please sign in to comment.