+
@@ -290,125 +136,48 @@ import { ref } from "vue";
const items = ref([
{
- label: 'File',
- icon: 'pi pi-fw pi-file',
+ label: 'Home',
+ icon: 'pi pi-home'
+ },
+ {
+ label: 'Features',
+ icon: 'pi pi-star'
+ },
+ {
+ label: 'Projects',
+ icon: 'pi pi-search',
items: [
{
- label: 'New',
- icon: 'pi pi-fw pi-plus',
+ label: 'Components',
+ icon: 'pi pi-bolt'
+ },
+ {
+ label: 'Blocks',
+ icon: 'pi pi-server'
+ },
+ {
+ label: 'UI Kit',
+ icon: 'pi pi-pencil'
+ },
+ {
+ label: 'Templates',
+ icon: 'pi pi-palette',
items: [
{
- label: 'Bookmark',
- icon: 'pi pi-fw pi-bookmark'
+ label: 'Apollo',
+ icon: 'pi pi-palette'
},
{
- label: 'Video',
- icon: 'pi pi-fw pi-video'
- }
- ]
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-trash'
- },
- {
- separator: true
- },
- {
- label: 'Export',
- icon: 'pi pi-fw pi-external-link'
- }
- ]
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Left',
- icon: 'pi pi-fw pi-align-left'
- },
- {
- label: 'Right',
- icon: 'pi pi-fw pi-align-right'
- },
- {
- label: 'Center',
- icon: 'pi pi-fw pi-align-center'
- },
- {
- label: 'Justify',
- icon: 'pi pi-fw pi-align-justify'
- }
- ]
- },
- {
- label: 'Users',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-user-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-user-minus'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-users',
- items: [
- {
- label: 'Filter',
- icon: 'pi pi-fw pi-filter',
- items: [
- {
- label: 'Print',
- icon: 'pi pi-fw pi-print'
- }
- ]
- },
- {
- icon: 'pi pi-fw pi-bars',
- label: 'List'
+ label: 'Ultima',
+ icon: 'pi pi-palette'
}
]
}
]
},
{
- label: 'Events',
- icon: 'pi pi-fw pi-calendar',
- items: [
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Save',
- icon: 'pi pi-fw pi-calendar-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- },
- {
- label: 'Archive',
- icon: 'pi pi-fw pi-calendar-times',
- items: [
- {
- label: 'Remove',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- }
- ]
- },
- {
- label: 'Quit',
- icon: 'pi pi-fw pi-power-off'
+ label: 'Contact',
+ icon: 'pi pi-envelope'
}
]);
<\/script>
diff --git a/doc/menubar/CommandDoc.vue b/doc/menubar/CommandDoc.vue
new file mode 100644
index 000000000..7514f0cb6
--- /dev/null
+++ b/doc/menubar/CommandDoc.vue
@@ -0,0 +1,213 @@
+
+
+ The command property defines the callback to run when an item is activated by click or a key event.
+
+
+
+
+
+
+
+
diff --git a/doc/menubar/RouterDoc.vue b/doc/menubar/RouterDoc.vue
index b81d70f1a..67f3ebc64 100644
--- a/doc/menubar/RouterDoc.vue
+++ b/doc/menubar/RouterDoc.vue
@@ -1,28 +1,25 @@
-
- Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
- NuxtLink or router-link. Here is an example with vue-router.
-
+ Items with navigation are defined with templating to be able to use a router link component, an external link or programmatic navigation.
-