An AJAX command for marking HTML elements as changed.
This command instructs the client to mark each of the elements matched by the given selector as 'ajax-changed'.
This command is implemented by Drupal.AjaxCommands.prototype.changed() defined in misc/ajax.js.
Hierarchy
- class \Drupal\Core\Ajax\ChangedCommand implements CommandInterface
Related topics
- Ajax API
- Overview for Drupal's Ajax API.
File
- core/lib/Drupal/Core/Ajax/ChangedCommand.php, line 16
Namespace
Drupal\Core\Ajax
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| ChangedCommand::$asterisk | protected | property | An optional CSS selector for elements to which asterisks will be appended. |
| ChangedCommand::$selector | protected | property | A CSS selector string. |
| ChangedCommand::render | public | function | Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render |
| ChangedCommand::__construct | public | function | Constructs a ChangedCommand object. |
Please login to continue.