Structuresliemeobn.elementary 0.5.0Elementary
HTMLAttributeMergeAction
The action to take when merging an attribute with the same name.
struct HTMLAttributeMergeAction
The action to take when merging an attribute with the same name.
struct HTMLAttributeMergeAction
import Elementary
protocol Sendable
static var ignoring: Self { get }
Ignores the new value if the attribute already exists.
static var replacing: Self { get }
Replaces the value of the existing attribute with the new value.
static func appending(separatedBy: String) -> HTMLAttributeMergeAction
Appends the new value to the existing value, separated by the specified string.
static func appending(seperatedBy: String) -> HTMLAttributeMergeAction
Appends the new value to the existing value, separated by the specified string.