Drupal 8  8.0.2
RestripeCommand Class Reference
Inheritance diagram for RestripeCommand:

Public Member Functions

 __construct ($selector)
 render ()
- Public Member Functions inherited from CommandInterface
 render ()
 __construct ($selector)
 render ()

Protected Attributes

- Protected Attributes inherited from CommandInterface

Detailed Description

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.

Constructor & Destructor Documentation

__construct (   $selector)

Constructs a RestripeCommand object.

string$selectorA CSS selector for the table to be restriped.

Member Function Documentation

render ( )

Implements Drupal:render().

The documentation for this class was generated from the following file: