AJAX command for invoking an arbitrary jQuery method.
The 'invoke' command will instruct the client to invoke the given jQuery method with the supplied arguments on the elements matched by the given selector. Intended for simple jQuery commands, such as attr(), addClass(), removeClass(), toggleClass(), etc.
This command is implemented by Drupal.AjaxCommands.prototype.invoke() defined in misc/ajax.js.
Hierarchy
class \Drupal\Core\Ajax\InvokeCommand implements CommandInterface
Related topics
A