Avatar
Attributes
- Graph
-
- Supertypes
- Self type
-
Avatar.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
- Self type
-
HTMLElement
Attributes
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
- Self type
-
RawImport.type
Types
Inherited types
Attributes
- Inherited from:
- WebComponent
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- WebComponent
Attributes
- Inherited from:
- WebComponent
Attributes
- Inherited from:
- CommonTypes
Value members
Inherited methods
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
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
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
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
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- WebComponent
Attributes
- Inherited from:
- CommonTypes
Attributes
- Inherited from:
- WebComponent
Concrete fields
The image source to use for the avatar.
The image source to use for the avatar.
Attributes
Initials to use as a fallback when no image is available (1-2 characters max recommended).
Initials to use as a fallback when no image is available (1-2 characters max recommended).
Attributes
A label to use to describe the avatar to assistive devices.
A label to use to describe the avatar to assistive devices.
Attributes
Indicates how the browser should load the image.
Indicates how the browser should load the image.
Attributes
The shape of the avatar.
The shape of the avatar.
Attributes
Inherited fields
Attributes
- Inherited from:
- WebComponent