Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable tooltip from ts #151

Open
kachaii opened this issue Feb 2, 2021 · 0 comments
Open

Disable tooltip from ts #151

kachaii opened this issue Feb 2, 2021 · 0 comments

Comments

@kachaii
Copy link

kachaii commented Feb 2, 2021

I want to disable the popper tooltip from the ts file i have a condition and i want to get the popper with viewchild and disable it i use hover like poppertrigger any idea please ?
exemple i have :

 [popper]="tooltipCanal"
            popperTrigger="hover"
            [popperHideOnClickOutside]="true"
            [popperHideOnScroll]="true"
            popperPlacement="bottom"
            [popperApplyClass]="'default-tooltip'"
        >
<popper-content class="tooltipCanal" #tooltipCanal>
            <p class="text-white"> test </p>
        </popper-content>
        
            @ViewChild('tooltipCanal') popperContent: PopperContent;
         this.popperContent.hide();

and in my ts when i use my function to disable tooltip not working always my tooltip show in hover

@kachaii kachaii changed the title Disablze tooltip from ts Disable tooltip from ts Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant