Extends TabView and Item

Apple.TabView

The Apple.TabView element provides an iOS style tab view.

Apple.TabView is implemented by combining a TabView and an Apple.TabBar. If you need more specialized behavior than Apple.TabView provides, you can use these individual parts for maximum flexibility.

alias Apple.TabBar tabBar

The Apple.TabBar instance used by the tab view.

extension alias Apple.TabBarItem Apple.TabView.tab

An extension property that allows you to configure the Apple.TabItem used for the tab page.

Apple.TabView {

    Rectangle {
        Apple.TabView.tab.label: "Welcome"
        color: #C6E6F6
    }

}