mirror of
https://gitee.com/blazorcomponent/MASA.Blazor.git
synced 2025-12-06 10:19:23 +08:00
* ♻ refactor: migrate all mobile components to a separate project
* remove unused files
* update
* update locale
* 🐛 fix: updating the logic of fetching latest release version
* update cicd
* update
1.2 KiB
1.2 KiB
title, desc, tag, related
| title | desc | tag | related | |||
|---|---|---|---|---|---|---|
| Mobile picker views(移动端选择视图) | 专为移动设备设计的选择视图。提供多个选项集合供用户选择,支持单列选择、多列选择和级联选择。 | 预置 |
|
MMobilePickerView is the content area of PMobilePicker.
安装
dotnet add package Masa.Blazor.MobileComponents
示例
属性
级联
使用级联的 Columns 和 ItemChildren 字段可以实现选项级联的效果。
级联选择的数据嵌套深度需要一致,如果某些选项没有子选项,则可以使用空字符串作为占位符。
禁止选择某项
自定义项高度
通过 Itemheight 可以自定义选项的高度。目前只支持 px 。