类型 MenuTypeaheadItem

API 文档由 Go 源码生成,内容为英文。

type MenuTypeaheadItem struct {
	ID       ui.ID
	Label    string
	Disabled bool
}

MenuTypeaheadItem is one choice for TypeItems: an identity, the text the user may type, and whether it is skipped. It is for a closed control whose rows are not painted in a MenuScroll, such as a select trigger.