Title

public final class Title : ContainerElementBase

title tag element class

Usage Example:

 let pageTitle = Title("This is Page.")
  • tag

    Override tag element. Default is title

    Declaration

    Swift

    override var tag: String { get }

Initialization

  • Default initializer

    Declaration

    Swift

    public init(_ text: String)

    Parameters

    text

    This is a text String