Retrospring/app/javascript/retrospring/controllers/tooltip_controller.ts

9 lines
186 B
TypeScript

import { Controller } from '@hotwired/stimulus';
import { Tooltip } from 'bootstrap';
export default class extends Controller {
connect(): void {
new Tooltip(this.element);
}
}