rangyinputs icon indicating copy to clipboard operation
rangyinputs copied to clipboard

Allow plain JS

Open davyvanlaere opened this issue 10 years ago • 0 comments

Hi Tim.

I have made some changes to your code that allow RangyInputs to be used in scenarios where JQuery is not loaded. When JQuery is loaded, everything works as is. In the other case, all RangyInput methods get added to window.RangyInputs.

I have also added a working demo-plain-js.html which does exactly the same as the jquery version.

davyvanlaere avatar Feb 23 '16 17:02 davyvanlaere