react-typist icon indicating copy to clipboard operation
react-typist copied to clipboard

Show complete text

Open Polooo2 opened this issue 9 years ago • 3 comments

Hi, cool library. Would be convenient to have some possibility to immediately show the complete text.

E.g. on mouse click show the complete text

Polooo2 avatar Jan 31 '16 09:01 Polooo2

hey yeah that's a cool idea, I'll look into it! Also open to pull requests! :smile:

jstejada avatar Feb 22 '16 02:02 jstejada

Any progress on this enhancement. Would be really handy, for example if you don't want to show the animation a second time when user revisits page.

sjorsvanheuveln avatar Sep 11 '17 13:09 sjorsvanheuveln

I think you could do this outside of the component. Just create a handler that takes a mouse click event and renders the text without the <Typist> tags. Although it would be nice to hand in a prop that does that for you. If I get time, I'll make a PR.

srwiseman avatar Apr 05 '18 23:04 srwiseman