Provides an AJAX command for highlighting a certain new piece of html.
This command is implemented in Drupal.AjaxCommands.prototype.viewsHighlight.
Hierarchy
- class \Drupal\views\Ajax\HighlightCommand implements CommandInterface
File
- core/modules/views/src/Ajax/HighlightCommand.php, line 12
Namespace
Drupal\views\Ajax
Members
Name | Modifiers | Type | Description |
---|---|---|---|
HighlightCommand::$selector | protected | property | A CSS selector string. |
HighlightCommand::render | public | function | Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render |
HighlightCommand::__construct | public | function | Constructs a \Drupal\views\Ajax\HighlightCommand object. |
Please login to continue.