RemoveCommand::$selector

Same name in other branches
  1. 9 core/lib/Drupal/Core/Ajax/RemoveCommand.php \Drupal\Core\Ajax\RemoveCommand::selector
  2. 8.9.x core/lib/Drupal/Core/Ajax/RemoveCommand.php \Drupal\Core\Ajax\RemoveCommand::selector
  3. 10 core/lib/Drupal/Core/Ajax/RemoveCommand.php \Drupal\Core\Ajax\RemoveCommand::selector

The CSS selector for the element(s) to be removed.

Type: string

File

core/lib/Drupal/Core/Ajax/RemoveCommand.php, line 26

Class

RemoveCommand
AJAX command for calling the jQuery remove() method.

Namespace

Drupal\Core\Ajax

Code

protected $selector;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.