question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mdTooltip, how can you use it with ngIf?

See original GitHub issue

sorry but in angular 1 material i could use a directive, right now it is an attribute, right now it is very hard to do. how can i do it simply to only show the tooltip like when the width of page is small and hide when it is big?

please help me out, because i cannot find. it is not possibly to use like

<md-tooltip ngIf="false">sometimes hidden</md-tooltip>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
patrikx3commented, Feb 27, 2017

it works like a breeze!! thanks so much!!

0reactions
angular-automatic-lock-bot[bot]commented, Sep 5, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hide Angular 2 material tooltip like ngIf - Stack Overflow
If I understand your request correctly you want to show tooltip only when a certain condition is met, try this: <div [matTooltip]="isWide ?...
Read more >
Angular: Slice and *ngIf for Conditional Ellipsis / Tooltip on Data
I want to add an ellipsis to data that's brought in from a service without having to use CSS' text-overflow: ellipsis feature, ...
Read more >
Hide Angular 2 material tooltip like ngIf - iTecNote
In Angular 1 Material I could use a directive, right now it is an attribute, right now it is very hard to do....
Read more >
Directives > mdTooltip - AngularJS Material
Tooltips are used to describe elements that are interactive and primarily graphical (not textual). Place a <md-tooltip> as a child of the element...
Read more >
Clarity Design System - Documentation - Wizards - VMware
Skipping steps and *ngFor. If you are using *ngFor to generate your wizard pages and still want to use *ngIf to hide them,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found