Module Types.CollectionItemWithRef

The type of the item.

val type_ : t -> [ `section | `item ]

A unique key for the item.

The type of the item.

val key : t -> string

A string value for the item, used for features like typeahead.

A unique key for the item.

val text_value : t -> string

Whether the item is disabled.

A string value for the item, used for features like typeahead.

val disabled : t -> bool

Whether the item is disabled.

val ref : t -> Dom.element option Solidtype.Solid.accessor
val make : type_:[ `section | `item ] -> key:string -> text_value:string -> disabled:bool -> ref:Dom.element option Solidtype.Solid.accessor -> unit -> t