Drupal 8  8.0.2
ChangedCommand Class Reference
Inheritance diagram for ChangedCommand:

Public Member Functions

 __construct ($selector, $asterisk= '')
 render ()
- Public Member Functions inherited from CommandInterface
 render ()
 __construct ($selector)
 render ()

Protected Attributes

- Protected Attributes inherited from CommandInterface

Detailed Description

An AJAX command for marking HTML elements as changed.

This command instructs the client to mark each of the elements matched by the given selector as 'ajax-changed'.

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

Constructor & Destructor Documentation

__construct (   $selector,
  $asterisk = '' 

Constructs a ChangedCommand object.

string$selectorCSS selector for elements to be marked as changed.
string$asteriskCSS selector for elements to which an asterisk will be appended.

Member Function Documentation

render ( )

Implements Drupal:render().

The documentation for this class was generated from the following file: