Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/Ramstack.HtmxToolkit/HtmxSwap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,30 @@ public enum HtmxSwap
/// <summary>
/// Morphs the inner HTML of the target element.
/// </summary>
/// <remarks>
/// Supported natively by HTMX 4.x. With HTMX 1.9.x or 2.x, activate the
/// <c>ramstack-morph</c> extension and optionally load Idiomorph. Without Idiomorph,
/// the extension falls back to <c>innerHTML</c>.
/// </remarks>
InnerMorph,

/// <summary>
/// Morphs the target element itself.
/// </summary>
/// <remarks>
/// Supported natively by HTMX 4.x. With HTMX 1.9.x or 2.x, activate the
/// <c>ramstack-morph</c> extension and optionally load Idiomorph. Without Idiomorph,
/// the extension falls back to <c>outerHTML</c>.
/// </remarks>
OuterMorph,

/// <summary>
/// Synchronizes the target element with the response.
/// </summary>
/// <remarks>
/// Supported natively by HTMX 4.x. With HTMX 1.9.x or 2.x, activate the
/// <c>ramstack-morph</c> extension to fall back to attribute synchronization and <c>innerHTML</c>.
/// </remarks>
OuterSync,

/// <summary>
Expand Down
Loading