class RestripeCommand

AJAX command for resetting the striping on a table.

The 'restripe' command instructs the client to restripe a table. This is usually used after a table has been modified by a replace or append command.

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

Hierarchy

Related topics

Ajax API
Overview for Drupal's Ajax API.

File

core/lib/Drupal/Core/Ajax/RestripeCommand.php, line 16

Namespace

Drupal\Core\Ajax

Members

Name Modifiers Type Description
RestripeCommand::$selector protected property A CSS selector string.
RestripeCommand::render public function Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render
RestripeCommand::__construct public function Constructs a RestripeCommand object.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!RestripeCommand.php/class/RestripeCommand/8.1.x