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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article