Advertising sustains the DA. Ads are hidden for members. Join today

Ajax API to HTMX

This guide provides both general principles and how-to processes for each legacy Ajax Command.

Overview

A summary of what we have learned so far.

AddCssCommand

Not needed in HTMX implementation.

AddJsCommand

Not needed in HTMX implementation

AfterCommand

needs work

AlertCommand

needs work

AnnounceCommand

needs work

AppendCommand

Shows how the Ajax API's AppendCommand can be replaced by HTMX directives.

BeforeCommand

needs work

ChangedCommand

needs work

CloseDialogCommand

needs work

CloseModalDialogCommand

needs work

CssCommand

needs work

DataCommand

needs work

FocusFirstCommand

needs work

HtmlCommand

needs work

InsertCommand

needs work

InvokeCommand

needs work

MessageCommand

needs work

OpenDialogCommand

needs work

OpenModalDialogCommand

needs work

OpenOffCanvasDialogCommand

needs work

PrependCommand

Shows how the Ajax API's PrependCommand can be replaced by HTMX directives.

RedirectCommand

needs work

RemoveCommand

needs work

ReplaceCommand

Also ['#ajax']['wrapper']

RestripeCommand

needs work

SetDialogOptionCommand

needs work

TabledragWarningCommand

needs work

UpdateSelectionCommand

needs work

Guide maintainers

fathershawn's picture