AddCssCommand

An AJAX command for adding css to the page via ajax.

This command is implemented by Drupal.AjaxCommands.prototype.add_css() defined in misc/ajax.js.

Hierarchy

See also

misc/ajax.js

Related topics

Ajax API
Overview for Drupal's Ajax API.

File

core/lib/Drupal/Core/Ajax/AddCssCommand.php, line 15

Namespace

Drupal\Core\Ajax

Members

Name Modifiers Type Description
AddCssCommand::$styles protected property A string that contains the styles to be added to the page.
AddCssCommand::render public function Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render
AddCssCommand::__construct public function Constructs an AddCssCommand.
doc_Drupal
2016-10-29 08:43:31
Comments
Leave a Comment

Please login to continue.