JHtmlJquery
Utility class for jQuery JavaScript behaviors
since |
3.0 |
---|---|
package |
Joomla.Libraries |
Methods
framework
Method to load the jQuery JavaScript framework into the document head
framework(boolean $noConflict = true, mixed $debug = null, boolean $migrate = true) : void
If debugging mode is on an uncompressed version of jQuery is included for easier debugging.
since |
3.0 |
---|
Arguments
- $noConflict
boolean
True to load jQuery in noConflict mode [optional]- $debug
mixed
Is debugging mode on? [optional]- $migrate
boolean
True to enable the jQuery Migrate plugin
token
Auto set CSRF token to ajaxSetup so all jQuery ajax call will contains CSRF token.
token(string $name = 'csrf.token') : void
throws |
|
---|---|
since |
3.8.0 |
Arguments
- $name
string
The CSRF meta tag name.
ui
Method to load the jQuery UI JavaScript framework into the document head
ui(array $components = array('core'), mixed $debug = null) : void
If debugging mode is on an uncompressed version of jQuery UI is included for easier debugging.
since |
3.0 |
---|
Arguments
- $components
array
The jQuery UI components to load [optional]- $debug
mixed
Is debugging mode on? [optional]
Properties
loaded
Array containing information for loaded files
since |
3.0 |
---|
Type(s)
array