BreadcrumbItem

com.raquo.laminar.shoelace.sl.BreadcrumbItem
object BreadcrumbItem extends WebComponent

Breadcrumb Items are used inside breadcrumbs to represent different links.

BreadcrumbItem.scala source code

Shoelace BreadcrumbItem docs

Attributes

Graph
Supertypes
class WebComponent
trait CommonTypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

trait BreadcrumbItemComponent extends Object

Attributes

Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Self type
HTMLElement
object RawImport extends Object

Attributes

Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Self type
RawImport.type
object cssParts

For documentation only. You need to style these from a CSS stylesheet.

For documentation only. You need to style these from a CSS stylesheet.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
cssParts.type
object slots

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
slots.type

Types

type Ref = BreadcrumbItemComponent & HTMLElement

Inherited types

type ComponentMod = Modifier[Element] | ModFunction

Attributes

Inherited from:
WebComponent
protected type DSP[V] = DerivedStyleProp[V]

Attributes

Inherited from:
CommonTypes
type Element = ReactiveHtmlElement[Ref]

Attributes

Inherited from:
WebComponent
type ModFunction = (WebComponent) => Modifier[Element]

Attributes

Inherited from:
WebComponent
protected type SS = StyleSetter

Attributes

Inherited from:
CommonTypes

Value members

Inherited methods

final def apply(mods: ComponentMod*): Element

Instantiate this component using the specified modifiers.

Instantiate this component using the specified modifiers.

Modifiers can be the usual Laminar modifiers (e.g. onDblClick --> observer), or they can be functions from this component to a modifier (e.g. _.onClick --> observer)

Scala 2 does not support union types, so use the of method instead.

IntelliJ is unable to provide autocompletion when using this method, so I suggest using of too. Upvote https://youtrack.jetbrains.com/issue/SCL-21713/Method-accepting-a-union-of-types-that-includes-a-Function-type-problems-with-go-to-definition-type-hints-and-autocomplete-Scala

Attributes

Inherited from:
WebComponent
protected def asIsProp[V](name: String): HtmlProp[V, _]

Attributes

Inherited from:
CommonTypes
protected def boolAttr(name: String): HtmlAttr[Boolean]

Attributes

Inherited from:
CommonTypes
protected def boolProp(name: String): HtmlProp[Boolean, _]

Attributes

Inherited from:
CommonTypes
protected def colorStyle(name: String): StyleProp[String] & Color & Color[SS, DSP]

Attributes

Inherited from:
CommonTypes
protected def doubleProp(name: String): HtmlProp[Double, _]

Attributes

Inherited from:
CommonTypes
protected def doubleStyle(key: String): StyleProp[Double]

Attributes

Inherited from:
CommonTypes
protected def eventProp[Ev <: Event](name: String): EventProp[Ev]

Attributes

Inherited from:
CommonTypes
protected def intAttr(name: String): HtmlAttr[Int]

Attributes

Inherited from:
CommonTypes
protected def intProp(name: String): HtmlProp[Int, _]

Attributes

Inherited from:
CommonTypes
protected def intStyle(key: String): StyleProp[Int]

Attributes

Inherited from:
CommonTypes
protected def lengthStyle(name: String): StyleProp[String] & Length[DSP, Int]

Attributes

Inherited from:
CommonTypes
protected def lineStyle(key: String): StyleProp[String] & Line

Attributes

Inherited from:
CommonTypes
final def of(mods: ModFunction*): Element

Instantiate this component with the specified modifiers.

Instantiate this component with the specified modifiers.

To pass standard Laminar modifiers with this method, use _ => onDblClick --> observer.

Same as apply, but only accepts scoped functions for modifiers.

Attributes

Inherited from:
WebComponent
def on[Ev <: Event, V](ev: EventProcessor[Ev, V]): EventProcessor[Ev, V]

Optional syntax for using built-in Laminar events: _.on(onDblClick.preventDefault) --> ...

Optional syntax for using built-in Laminar events: _.on(onDblClick.preventDefault) --> ...

Attributes

Inherited from:
WebComponent
protected def stringAttr(name: String): HtmlAttr[String]

Attributes

Inherited from:
CommonTypes
protected def stringProp(name: String): HtmlProp[String, _]

Attributes

Inherited from:
CommonTypes
protected def tagWithControlledInput[Ref <: Element, A, Ev <: Event](prop: HtmlProp[A, _], initial: A, eventProp: EventProp[Ev]): CustomHtmlTag[Ref]

Attributes

Inherited from:
WebComponent
protected def timeStyle(key: String): StyleProp[String] & Time[DSP]

Attributes

Inherited from:
CommonTypes
protected def useImport(importObject: Any): Unit

Attributes

Inherited from:
WebComponent

Concrete fields

lazy val href: HtmlAttr[String]

Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.

Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.

Attributes

lazy val rel: HtmlAttr[String]

The rel attribute to use on the link. Only used when href is set.

The rel attribute to use on the link. Only used when href is set.

Attributes

lazy val target: target.type

Tells the browser where to open the link. Only used when href is set.

Tells the browser where to open the link. Only used when href is set.

Attributes

Inherited fields

lazy protected val tag: CustomHtmlTag[Ref]

Attributes

Inherited from:
WebComponent