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'; true Whether to apply 'router-link-active-exact' class if route exactly matches the item path. + + tooltipOptions + object + null + 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'. + @@ -201,7 +207,7 @@ export default { :circular="true" :fullScreen="true" :showThumbnails="false" :showItemNavigators="true"> + @@ -584,7 +590,7 @@ export default { :circular="true" :fullScreen="true" :showThumbnails="false" :showItemNavigators="true"> + @@ -946,11 +952,11 @@ export default { } } } - + ` } } } } } - \ No newline at end of file +