Core
- htmx.config - configures htmx behavior globally
- htmx.version - reports current htmx version (read-only)
- htmx.config.prefix - sets secondary attribute prefix
- htmx.config.metaCharacter - replaces
:in attribute modifiers - htmx.config.extensions - restricts extension registration by name
Request Settings
- htmx.config.defaultTimeout - sets default request timeout in
ms - htmx.config.mode - sets request mode for
fetch()
Swaps
- htmx.config.defaultSwap - sets default swap style for responses
- htmx.config.allowEmptySwapAfterOOB - controls whether OOB swaps prevent empty main swaps
- htmx.config.noSwap - sets HTTP status codes that skip swap
- htmx.config.transitions - enables View Transitions API support
- htmx.config.defaultSettleDelay - sets swap-to-settle delay in
ms - htmx.config.defaultFocusScroll - scrolls to focused element after swap
Morphing
- htmx.config.morphIgnore - preserves attribute prefixes during morphing
- htmx.config.morphSkip - skips morphing for specific elements
- htmx.config.morphSkipChildren - skips morphing children of specific elements
- htmx.config.morphScanLimit - limits siblings scanned during morph matching
Indicators
- htmx.config.includeIndicatorCSS - includes built-in loading indicator CSS
- htmx.config.indicatorClass - sets class hidden by built-in indicator CSS
- htmx.config.requestClass - sets class applied during requests
Behavior
- htmx.config.history - controls htmx browser history management
- htmx.config.implicitInheritance - enables implicit attribute inheritance
- htmx.config.inlineScriptNonce - sets nonce on inline scripts generated by htmx
- htmx.config.logAll - logs all htmx events to console