Advertising sustains the DA. Ads are hidden for members. Join today
Ajax API to HTMX
- Overview
- AddCssCommand
- AddJsCommand
- AfterCommand
- AlertCommand
- AnnounceCommand
- AppendCommand
- BeforeCommand
- ChangedCommand
- CloseDialogCommand
- CloseModalDialogCommand
- CssCommand
- DataCommand
- FocusFirstCommand
- HtmlCommand
- InsertCommand
- InvokeCommand
- MessageCommand
- OpenDialogCommand
- OpenModalDialogCommand
- OpenOffCanvasDialogCommand
- PrependCommand
- RedirectCommand
- RemoveCommand
- ReplaceCommand
- RestripeCommand
- SetDialogOptionCommand
- TabledragWarningCommand
- UpdateSelectionCommand
AddCssCommand
Last updated on
13 September 2025
AddCssCommand is not needed in an HTMX implementation. Assets included in the response that are not already present are merged into the target page.
If you are building or maintaining a route for the request, see Adding assets (CSS, JS) to a Drupal module via *.libraries.yml for more information about returning CSS.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion