diff --git a/src/views/splitbutton/SplitButtonDemo.vue b/src/views/splitbutton/SplitButtonDemo.vue index 141bb0e19..ed5aadfc0 100755 --- a/src/views/splitbutton/SplitButtonDemo.vue +++ b/src/views/splitbutton/SplitButtonDemo.vue @@ -57,9 +57,7 @@ export default { }, { label: 'Upload', icon: 'pi pi-upload', - command: () => { - window.location.hash = "/fileupload" - } + to: '/fileupload' } ] } diff --git a/src/views/splitbutton/SplitButtonDoc.vue b/src/views/splitbutton/SplitButtonDoc.vue index e35e7dcbe..252c9e1b5 100755 --- a/src/views/splitbutton/SplitButtonDoc.vue +++ b/src/views/splitbutton/SplitButtonDoc.vue @@ -38,9 +38,7 @@ export default { { label: 'Upload', icon: 'pi pi-upload', - command: () => { - window.location.hash = "/fileupload" - } + to: '/fileupload' } ] } @@ -156,24 +154,24 @@ export default {
Name | -Element | -
---|---|
Name | +Element | +
p-splitbutton | -Container element. | -
p-splitbutton-button | -Dropdown button. | -
p-menu | -Overlay menu. | -
p-splitbutton | +Container element. | +
p-splitbutton-button | +Dropdown button. | +
p-menu | +Overlay menu. | +