mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
New model for split button demos
This commit is contained in:
parent
7a32f796b8
commit
47a0bfc4c3
13 changed files with 211 additions and 147 deletions
|
@ -32,12 +32,14 @@ export default {
|
|||
}
|
||||
},
|
||||
{
|
||||
label: 'Vue Website',
|
||||
separator: true
|
||||
},
|
||||
{
|
||||
label: 'Quit',
|
||||
command: () => {
|
||||
window.location.href = 'https://vuejs.org/';
|
||||
}
|
||||
},
|
||||
{ label: 'Upload', to: '/fileupload' }
|
||||
}
|
||||
],
|
||||
code: {
|
||||
basic: `
|
||||
|
@ -81,12 +83,14 @@ export default {
|
|||
}
|
||||
},
|
||||
{
|
||||
label: 'Vue Website',
|
||||
separator: true
|
||||
},
|
||||
{
|
||||
label: 'Quit',
|
||||
command: () => {
|
||||
window.location.href = 'https://vuejs.org/';
|
||||
}
|
||||
},
|
||||
{ label: 'Upload', to: '/fileupload' }
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
|
@ -130,12 +134,14 @@ const items = [
|
|||
}
|
||||
},
|
||||
{
|
||||
label: 'Vue Website',
|
||||
separator: true
|
||||
},
|
||||
{
|
||||
label: 'Quit',
|
||||
command: () => {
|
||||
window.location.href = 'https://vuejs.org/';
|
||||
}
|
||||
},
|
||||
{ label: 'Upload', to: '/fileupload' }
|
||||
}
|
||||
];
|
||||
|
||||
const save = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue