Tab

com.alecdorrington.laminarcomponents.Tabs.Tab
final case class Tab(label: String, content: () => L.HtmlElement, icon: Option[L.SvgElement] = ..., mark: Modifier[L.HtmlElement] = ...)

A tab and the pane it opens.

Value parameters

content

The pane's builder, run once, when the tab is first opened.

icon

An icon drawn before its name, if any.

label

The tab's name.

mark

Anything drawn after its name, such as a count.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product