63

I'm new to Angular 2 Material. What's the preferred way to make a tool tip multi-line?

For example, I might have the following tool tip:

AA BBBBBBBBBB CCCC DDDDD

And, I may want to to have it display in a multi-line format like this:

AA BBBBBBBBBB 
CCCC 
DDDDD
FAISAL
  • 33,618
  • 10
  • 97
  • 105
Jonas
  • 3,969
  • 2
  • 25
  • 30
  • 3
    @Jonas Since it's against the Material specs for what you're trying to do and the Angular Material team follows the guidelines as closely as possible, there's no **official** solution for this. – Edric Dec 30 '17 at 08:29
  • @Edric I couldn't find the Material specs (in 2020) that says line break on tooltips is a no no. – Tiago B Dec 15 '20 at 22:23