pull/1143/head
Tuğçe Küçükoğlu 2021-03-29 11:13:00 +03:00
parent 7a65ed8a1f
commit 56eb7e7a04
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
<template> <template>
<AppDoc name="TooltipDemo" :sources="sources"> <AppDoc name="TooltipDemo" :sources="sources">
<h5>Getting Started</h5> <h5>Getting Started</h5>
<p>Tooltip is a directive that needs to be imported and configured with a name of your choice. Global configuration is done with the <i>Vue.directive</i> function.</p> <p>Tooltip is a directive that needs to be imported and configured with a name of your choice. Global configuration is done with the <i>app.directive</i> function.</p>
<pre v-code.script><code> <pre v-code.script><code>
import Tooltip from 'primevue/tooltip'; import Tooltip from 'primevue/tooltip';
Vue.directive('tooltip', Tooltip); app.directive('tooltip', Tooltip);
</code></pre> </code></pre>