DL

public final class DL : UL

Class for description list

### Usage Example: ###

  let dl = DL()
  dl.add("Description list item 1")
  let dd = DD("Description list item 1.1")
  dl.add(dd)
  • tag

    Override tag element for input elements. Default is dl

    Declaration

    Swift

    override var tag: String { get }
  • This method append a new element in objects list

    Declaration

    Swift

    public override func add<T>(_ element: T)

    Parameters

    element

    Generic Type ElementProtocol or String