init(name:value:mergedBy:)

Creates a new HTML attribute with the specified name and value.

Html+Attributes.swift:43
init(name: String, value: String?, mergedBy action: HTMLAttributeMergeAction = .replacing)

Parameters

name

The name of the attribute.

value

The value of the attribute.

action

The merge action to use with a previously attached attribute with the same name.