diff --git a/api-generator/components/dock.js b/api-generator/components/dock.js index 7fd3997a2..3920dba71 100644 --- a/api-generator/components/dock.js +++ b/api-generator/components/dock.js @@ -28,6 +28,12 @@ const DockProps = [ type: "boolean", default: "true", description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path." + }, + { + name: "tooltipOptions", + type: "object", + default: "null", + description: "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'." } ]; @@ -45,4 +51,4 @@ module.exports = { props: DockProps, slots: DockSlots } -} \ No newline at end of file +} diff --git a/src/views/dock/DockDoc.vue b/src/views/dock/DockDoc.vue index 2878d907e..5fc5988b8 100644 --- a/src/views/dock/DockDoc.vue +++ b/src/views/dock/DockDoc.vue @@ -89,6 +89,12 @@ import Dock from 'primevue/dock';