LI

public class LI : GenericElement

Class for list item

  • tag

    Override tag element for input elements. Default is li

    Declaration

    Swift

    override var tag: String { get }
  • Override container element for table row elements defaults is true

    Declaration

    Swift

    override var container: Bool { get }

Initialization

  • Initialization with Generic Type

    Declaration

    Swift

    public init<T>(_ element: T)

    Parameters

    element

    Generic Type ElementProtocol or String