Update Dock doc and api-gen
parent
aeba88374b
commit
76cc027504
|
@ -28,6 +28,12 @@ const DockProps = [
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
default: "true",
|
default: "true",
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
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,
|
props: DockProps,
|
||||||
slots: DockSlots
|
slots: DockSlots
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,6 +89,12 @@ import Dock from 'primevue/dock';
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
<td>Whether to apply 'router-link-active-exact' class if route exactly matches the item path.</td>
|
<td>Whether to apply 'router-link-active-exact' class if route exactly matches the item path.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>tooltipOptions</td>
|
||||||
|
<td>object</td>
|
||||||
|
<td>null</td>
|
||||||
|
<td>Whether to display the tooltip on items. The modifiers of <router-link to="/tooltip">Tooltip</router-link> can be used like an object in it. Valid keys are 'event' and 'position'.</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -201,7 +207,7 @@ export default {
|
||||||
:circular="true" :fullScreen="true" :showThumbnails="false" :showItemNavigators="true">
|
:circular="true" :fullScreen="true" :showThumbnails="false" :showItemNavigators="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img src='https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png' :alt="slotProps.item.alt" style="width: 100%" />
|
<img src='https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png' :alt="slotProps.item.alt" style="width: 100%" />
|
||||||
</template>
|
</template>
|
||||||
</Galleria>
|
</Galleria>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -584,7 +590,7 @@ export default {
|
||||||
:circular="true" :fullScreen="true" :showThumbnails="false" :showItemNavigators="true">
|
:circular="true" :fullScreen="true" :showThumbnails="false" :showItemNavigators="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img src="https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png" :alt="slotProps.item.alt" style="width: 100%" />
|
<img src="https://www.primefaces.org/wp-content/uploads/2020/05/placeholder.png" :alt="slotProps.item.alt" style="width: 100%" />
|
||||||
</template>
|
</template>
|
||||||
</Galleria>
|
</Galleria>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -946,11 +952,11 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue