// Custom element written in TypeScript which renders a simple tippy tooltip showing "hello world"
// import tippy from 'tippy.js';

// todo  Global hints

export class Tooltip extends HTMLElement {
    public connectedCallback(): void {
        this.innerHTML = `<button>Hover me</button>`;
        window.tippy(this.querySelector('button')!, {
            content: 'Feh, World!',
        });
    }
}
