HighlightCommand

Provides an AJAX command for highlighting a certain new piece of html.

This command is implemented in Drupal.AjaxCommands.prototype.viewsHighlight.

Hierarchy

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.
doc_Drupal
2016-10-29 09:17:40
Comments
Leave a Comment

Please login to continue.