Skip Navigation
Type MethodMethod

titleTag(_:)

Returns the tag that follows the title of a deprecated or beta symbol.

static func titleTag(_ variant: Variant) -> String

Parameters

variant

The status.

Return Value

The small element.

Discussion

Like swift-docc-render’s Title, the tag is an empty small element whose class and data-tag-name attribute hold the label, which the stylesheet shows.