bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
15 lines (14 loc) • 530 B
JavaScript
import { s as resolveDirectiveProps } from "../../../floatingUi-DHMrP__c.mjs";
import { t as createFloatingDirective } from "../../../utils-CgwCsk6U.mjs";
import "vue";
//#region src/directives/BTooltip/index.ts
var vBTooltip = createFloatingDirective("$__tooltip", "BTooltip", (text, defaults, binding, el) => ({
noninteractive: true,
...defaults || void 0,
...resolveDirectiveProps(binding, el),
title: text.title ?? text.body ?? "",
tooltip: true
}));
//#endregion
export { vBTooltip };
//# sourceMappingURL=index.mjs.map