Tab
public class Tab : UIView
Undocumented
-
Position is an enum that represents if the tabBar is fixed or scrollable
See moreDeclaration
Swift
public enum Position -
Undocumented
Declaration
Swift
public weak var delegate: TabDelegate? -
Undocumented
Declaration
Swift
public var selectedSegmentedIndex: Int { get set } -
Undocumented
Declaration
Swift
public init(theme: AvailableTheme = .none) -
Undocumented
Declaration
Swift
func insertTab(title: String)
-
Sets the position comportament of the component.
Example of usage:
Tab.configure(position: .fixed) Tab.configure(position: .scrollable)Declaration
Swift
public func configure(position: Position) -
Sets if the tab has elevation
Example of usage:
Tab.configure(elevation: true)Declaration
Swift
public func configure(elevation: Bool)Parameters
elevationa bool that indicates if the tab has elevation