CssCommand::$css
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/CssCommand.php \Drupal\Core\Ajax\CssCommand::css
- 8.9.x core/lib/Drupal/Core/Ajax/CssCommand.php \Drupal\Core\Ajax\CssCommand::css
- 11.x core/lib/Drupal/Core/Ajax/CssCommand.php \Drupal\Core\Ajax\CssCommand::css
An array of property/value pairs to set in the CSS for the selector.
Type: array
File
-
core/
lib/ Drupal/ Core/ Ajax/ CssCommand.php, line 35
Class
- CssCommand
- An AJAX command for calling the jQuery css() method.
Namespace
Drupal\Core\AjaxCode
protected $css = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.