horizon/doc/source/contributor/ref/tabs.rst
Doug Hellmann 259746bcff rearrange content into the new standard layout
Change-Id: I6dbe0ea81d9d21a0f92d270337637606220f38d1
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-15 17:40:10 -04:00

978 B

Horizon Tabs and TabGroups

horizon.tabs

Horizon includes a set of reusable components for programmatically building tabbed interfaces with fancy features like dynamic AJAX loading and nearly effortless templating and styling.

Tab Groups

For any tabbed interface, your fundamental element is the tab group which contains all your tabs. This class provides a dead-simple API for building tab groups and encapsulates all the necessary logic behind the scenes.

TabGroup

Tabs

The tab itself is the discrete unit for a tab group, representing one view of data.

Tab

TableTab

TabView

There is also a useful and simple generic class-based view for handling the display of a ~horizon.tabs.TabGroup class.

TabView

TabbedTableView