类型 ToggleGroupOption
API 文档由 Go 源码生成,内容为英文。
type ToggleGroupOption struct {
ID ui.ID
Label string
Active bool
Disabled bool
}ToggleGroupOption is one stable toggle. Active is carried per option so the same component supports single- and multiple-selection groups.