Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion resources/views/docs/mobile/4/edge-components/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ content slots.
- `leadingMonogram` - 1-2 character monogram (combine with `leadingMonogramColor`)
- `leadingMonogramColor` - Hex color for monogram background
- `leadingImage` - URL of a square image with a small radius
- `leadingImageFit` - How `leadingImage` fits its square: `cover` fills and crops (default); `contain` shows the
whole image while preserving its aspect ratio. For logos or wide images, set `leadingImageFit="contain"`.
Works on iOS and Android; `leading-image-fit` is also accepted
- `leadingCheckbox` - Boolean value for a leading checkbox. Interactive when `on-leading-change` is set —
tapping the box fires your handler with the new value (the row's own `@press` still handles taps elsewhere
on the row); without a handler it renders as a static state glyph
Expand Down Expand Up @@ -300,7 +303,7 @@ Leading slot:
- `leadingIcon(?string $name = null, IosSymbol|string|null $ios = null, AndroidSymbol|string|null $android = null)`
- `leadingAvatar(string $url)`
- `leadingMonogram(string $initials, ?string $color = null)`
- `leadingImage(string $url)`
- `leadingImage(string $url, ?string $fit = null)` - `cover` (default) or `contain`, e.g. `->leadingImage($url, 'contain')`
- `leadingCheckbox(bool $checked = false)`
- `leadingRadio(bool $selected = false)`

Expand Down