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

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

Class

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

Namespace

Drupal\Core\Ajax

Code

protected $selector;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!DataCommand.php/property/DataCommand::selector/8.1.x