protected property DataCommand::$selector

A CSS selector string for elements to which data will be attached.

If the command is a response to a request from an #ajax form element then this value can be NULL.

Type: string

File

drupal/core/lib/Drupal/Core/Ajax/DataCommand.php, line 31
Definition of Drupal\Core\Ajax\DataCommand.

Class

DataCommand
An AJAX command for implementing jQuery's data() method.

Namespace

Drupal\Core\Ajax

Code

protected $selector;