Drupal 8  8.0.2
HtmlCommand Class Reference
Inheritance diagram for HtmlCommand:

Public Member Functions

 render ()
 
- Public Member Functions inherited from InsertCommand
 __construct ($selector, $content, array $settings=NULL)
 
 render ()
 
- Public Member Functions inherited from CommandInterface
 render ()
 
 __construct ($selector)
 
 render ()
 
- Public Member Functions inherited from CommandWithAttachedAssetsInterface
 getAttachedAssets ()
 

Additional Inherited Members

- Protected Attributes inherited from InsertCommand
 $selector
 
 $content
 
 $settings
 
- Protected Attributes inherited from CommandInterface
 $selector
 

Detailed Description

AJAX command for calling the jQuery html() method.

The 'insert/html' command instructs the client to use jQuery's html() method to set the HTML content of each element matched by the given selector while leaving the outer tags intact.

This command is implemented by Drupal.AjaxCommands.prototype.insert() defined in misc/ajax.js.

See Also
http://docs.jquery.com/Attributes/html#val

Member Function Documentation

render ( )

Implements Drupal:render().


The documentation for this class was generated from the following file: