diff --git a/resources/views/docs/mobile/4/edge-components/list.md b/resources/views/docs/mobile/4/edge-components/list.md index 2a58f408..abe29fcc 100644 --- a/resources/views/docs/mobile/4/edge-components/list.md +++ b/resources/views/docs/mobile/4/edge-components/list.md @@ -93,6 +93,9 @@ Bind boolean slots with `:` so a false value stays false: `:leadingCheckbox="$ta - `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 (bind it: `:leadingCheckbox="$done"`). 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 @@ -357,7 +360,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)`