big-text.js icon indicating copy to clipboard operation
big-text.js copied to clipboard

Iterate each element with same class

Open jonalxh opened this issue 6 years ago • 4 comments

Hi. First of all thanks a lot, it saved me a lot of time. I found your project referenced in jquery-bigtext deprecated github page, after analizing I understood that yours didnt depend on Jquery, it was nice. Doing the test proccess I found that if I have more than one element with the same class, your lib will only affect the first, its easy to solve just doing the routine inside a for cycle, but "the parent plugin" (referenced before) used to have this functionality, I wanna recommend you enabling it, because it is very useful.

By the other hand It will be wonderful if text wraps automatically, I'll try to do it in future in a pull request, but i think you have considered it before, what is limitating you to do it apart from the fast charge?

Thank you again.

jonalxh avatar Mar 07 '18 17:03 jonalxh

Hi, I didn't consider it before, I think. I don't know if the code to do that was in the previous jquery version. You are welcome to make a pull request and improve that.

Thank you!

BrOrlandi avatar Jun 02 '18 05:06 BrOrlandi

See #4

Jetroid avatar May 27 '19 07:05 Jetroid

P.S. @jonalxh for automatic text wrapping, see https://github.com/jquery-textfill/jquery-textfill/

Jetroid avatar May 27 '19 15:05 Jetroid

P.S. @jonalxh for automatic text wrapping, see https://github.com/jquery-textfill/jquery-textfill/

Hi @Jetroid and thanks, I've seen the library you referenced after living my comment the last year. I'm glad for #4.

jonalxh avatar May 28 '19 13:05 jonalxh