Below is a short overview of the Javascript functions, that are provided with TorqueUI.
TorqueUI only contains one Javascript file, which is a prepacked version. This file is a Javascript file, that is minified and concatinated. If you wish to tinker with the individual files, you need to check the full source version on Github.
Some of the the CSS components depend other components, and Javascript plugins. If you wan't to use individual components, you need to make sure to check for these dependencies. Besides that all plugins relay on jQuery. In other words, jQuery must be included in all your HTML files before the plugin files.
All throughout the framework, we use data attributes to initiate Javascript components.
With TorqueUI plugins we do not provide a gracefull fall back if the client has Javascript disabled. If you care about user experience and accessibility when it comes to ths case. You should use a <noscript>
element, with a descriptive text, that explains how to re-enable Javascript. So the user can get the full experience of your site.
TorqueUI does not officially support third-party Javascript libraries like Prototype and jQuery UI. Despite .noConflict
and namespaced events, there may be some compatibility isses, that you ned to check and maybe even fix on your own.