Adds auto loading to apply mask to element#107
Adds auto loading to apply mask to element#107jpSimkins wants to merge 3 commits intoplentz:masterfrom jpSimkins:master
Conversation
This allows the mask to be applied on page load instead of on click. New setting 'autoLoad', defaults to false, when set true will apply the mask to the element.
Added a quick comment for the autoLoad setting. I may rename this in the future to a name that fits better.
Fixed description for autoLoad
|
@jpSimkins can you add a test for this one? I'm inclined to merge it, but with a test is always better :) |
|
@jpSimkins btw, I didn't remembered why I didn't accepted it in the first place, but I found this:
Could you please say why you thing this one is needed? |
|
Ahh, To be honest I just updated to the new version and I apparently had this in the v.2.x. For me, I needed to add that back as I have these classes defined in my system and they use |
|
@jpSimkins no problem, really. Contributions are always welcome :) Thanks anyway 👍 |
|
Actually, I noticed that To get it working you can call Just wanted to point this out because I find the |
|
@jpSimkins I was just stupid. It should be |
This allows the mask to be applied on initiation instead of on click. New
setting 'autoLoad', defaults to false, when set true will apply the mask
to the element when initiated