Silex icon indicating copy to clipboard operation
Silex copied to clipboard

Foldable or Tooltip

Open nicodt opened this issue 4 years ago • 2 comments

Hi, I am looking to have a section of text and if you click on it, it will expand with some more text preferably smaller.
Or alternatively, I would like a hover over tooltip. Any advice would be greatly appreciated.

nicodt avatar Jul 21 '20 11:07 nicodt

For the expandable text, would you want something like this? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

For the tooltip, simply add text to the "title" property of an element and it will appear on hover

On Jul 21, 2020, 13:56, at 13:56, nicodt [email protected] wrote:

Hi, I am looking at have a section of text and if you click on it, it will expand. Or alternatively, I would like a hover over tooltip. Any Advice would be greatly appreciated.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/silexlabs/Silex/issues/1037

lexoyo avatar Jul 21 '20 17:07 lexoyo

Hello @nicodt Did you manage to do what you wanted?

lexoyo avatar Jul 31 '20 19:07 lexoyo