I want to show dotted end text with fixed length but with tooltip when it exceeds specific text length.
.mat-tooltip {
max-width: 50px;
/* or */
/* width: 50px; */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
looks good.
also can we show material2 tooltip conditionally?
because now it seems to be an attribute of element.
https://github.com/angular/material2/blob/master/src/demo-app/tooltip/tooltip-demo.html
you can call show on it as long as it as bound I believe. tooltip.show()
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._
Most helpful comment