class RestripeCommand implements CommandInterface (View source)

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.

Properties

protected string $selector

A CSS selector string.

Methods

__construct(string $selector)

Constructs a RestripeCommand object.

render()

Implements Drupal\Core\Ajax\CommandInterface:render().

Details

__construct(string $selector)

Constructs a RestripeCommand object.

Parameters

string $selector

A CSS selector for the table to be restriped.

render()

Implements Drupal\Core\Ajax\CommandInterface:render().