Just because you don't have to change anything to get it to work, doesn't mean you can't! If you don't want this behavior to happen, but still want to use spectrum elsewhere on the page, you can set $.fn.spectrum.load = false right after loading the script file. This mode needs to work without JavaScript enabled - and fallback to an input like other HTML5 inputs. I wanted an option for the most basic use case, a polyfill for the input HTML5 control. Spectrum is contained in two files, and both are careful not to mess with your existing code. Nobody wants to add a bunch of code into their project. Just include the needed CSS and JavaScript files, and you are ready to go!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |