index.mjs 474 B

123456789101112
  1. // Components
  2. import { VTooltip } from "../../components/VTooltip/index.mjs"; // Composables
  3. import { useDirectiveComponent } from "../../composables/directiveComponent.mjs"; // Types
  4. export const Tooltip = useDirectiveComponent(VTooltip, binding => {
  5. return {
  6. activator: 'parent',
  7. location: binding.arg?.replace('-', ' '),
  8. text: typeof binding.value === 'boolean' ? undefined : binding.value
  9. };
  10. });
  11. export default Tooltip;
  12. //# sourceMappingURL=index.mjs.map