From 8eae5039fee739dffd19e581bfb50a5e99e4dda0 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 21 Sep 2020 17:23:01 +0300 Subject: [PATCH] Demo update --- src/views/splitbutton/SplitButtonDemo.vue | 4 +-- src/views/splitbutton/SplitButtonDoc.vue | 40 ++++++++++------------- 2 files changed, 19 insertions(+), 25 deletions(-) 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 {
- - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + +
NameElement
NameElement
p-splitbuttonContainer element.
p-splitbutton-buttonDropdown button.
p-menuOverlay menu.
p-splitbuttonContainer element.
p-splitbutton-buttonDropdown button.
p-menuOverlay menu.
@@ -231,9 +229,7 @@ export default { { label: 'Upload', icon: 'pi pi-upload', - command: () => { - window.location.hash = "/fileupload" - } + to: '/fileupload' } ] }