attr(_:_:)

Set a boolean attribute value on this element. Setting to true sets the attribute value to “” and marks the attribute as boolean so no value is written out. Setting to false removes the attribute with the same key if it exists.

Element.swift:187
@discardableResult func attr(_ attributeKey: String, _ attributeValue: Bool) throws -> Element
<param>
<param>
<return>