discourse/app/assets/javascripts/float-kit/addon/components/d-headless-tooltip.gjs

16 lines
437 B
Plaintext

import { and } from "truth-helpers";
import DInlineFloat from "float-kit/components/d-inline-float";
const DHeadlessTooltip = <template>
<DInlineFloat
@instance={{@tooltip}}
@trapTab={{and @tooltip.options.interactive @tooltip.options.trapTab}}
@mainClass="fk-d-tooltip__content"
@innerClass="fk-d-tooltip__inner-content"
@role="tooltip"
@inline={{@inline}}
/>
</template>;
export default DHeadlessTooltip;