AJAX command for calling the jQuery insert() method.
The 'insert/prepend' command instructs the client to use jQuery's prepend() method to prepend the given HTML content to the inside each element matched by the given selector.
This command is implemented by Drupal.AjaxCommands.prototype.insert() defined in misc/ajax.js.
Expanded class hierarchy of PrependCommand
http://docs.jquery.com/Manipulation/prepend#content
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InsertCommand:: |
protected | property | The HTML content that will replace the matched element(s). | |
InsertCommand:: |
protected | property | A CSS selector string. | |
InsertCommand:: |
protected | property | A settings array to be passed to any any attached JavaScript behavior. | |
InsertCommand:: |
public | function | Constructs an InsertCommand object. | |
PrependCommand:: |
public | function |
Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides InsertCommand:: |