public function FocusFirstCommand::__construct in Drupal 9
Constructs an FocusFirstCommand object.
Parameters
string $selector: The selector of the container with tabbable elements.
File
- core/
lib/ Drupal/ Core/ Ajax/ FocusFirstCommand.php, line 37
Class
- FocusFirstCommand
- AJAX command for focusing an element.
Namespace
Drupal\Core\AjaxCode
public function __construct($selector) {
$this->selector = $selector;
}