I'm trying to create a lib for my app which will use a directive as a popper trigger and hint target. This directive uses '@ContentChild' for getting ng-template
what I want to show in a hint.
The problem is that nothing is actually working.
Here is what I've done so far https://stackblitz.com/edit/angular-nwojkq
I cannot understand from docs how to use this lib all. I've tried to inspect the nodes and the this.popper
reference for clues but no success. Haven't found any method to have "hover" trigger to show popover.
The question is how should I show/hide the popper.
And is it possible to create a DOM element and use it as popper hint inner without attaching it to the body.
The popper object is being successfully created, however I cannot find out how to work with it. Reading popper.js docs only added mess to my head.
Update #1
Looks like the popper actually works however it is simply shown instead of hiding when it's not hovered.
Is there any methods to enable/disable Popper then? I don't want it to keep track while the element is not hovered.