Possibility to set compressor ratios individually for every element#94
Possibility to set compressor ratios individually for every element#94zraly wants to merge 1 commit intodavatron5000:masterfrom
Conversation
By setting data-fittext-kompressor attribute. For example, data-fittext-kompressor="0.5" sets compressor value for the element to 0.5
|
I really like this! I think it maybe makes sense to only create one |
|
I am not so good in JS to write it in this hard-skill way, so please improve it as you think. But I am very happy I could help. |
|
I don't know, really. I just know it's awesome being able to set min/max and compression for each when you're using the plugin outside of Drupal. I was just thinking it's be nice to have those components built into the UI instead of simply a box to list selectors. That's just my 2 cents ;-)
|
|
I'm doing something outside of FitText that may be helpful to someone... |
By setting data-fittext-kompressor attribute.
For example, data-fittext-kompressor="0.5" sets compressor value for the element to 0.5