Class HtmxConfig
- Namespace
- Ramstack.HtmxToolkit.Configuration
- Assembly
- Ramstack.HtmxToolkit.dll
Represents configuration for a specific major version of HTMX.
public abstract class HtmxConfig
- Inheritance
-
HtmxConfig
- Derived
- Inherited Members
Remarks
Configuration JSON is cached until a configuration property is assigned. Collection properties are read-only lists, so replace a collection by assigning the property. Changes made in place to an assigned collection or its items do not invalidate the cache; reassign the containing property after making such changes.
Properties
TargetVersion
Gets the configured HTMX major version.
[JsonIgnore]
public HtmxTargetVersion TargetVersion { get; }