Types.CollectionNodetype 't t = 't t_collection_nodeThe type of item this node represents.
val type_ : 't t -> [ `section | `item ]A unique key for the node.
The type of item this node represents.
val key : 't t -> stringThe source object this node was created from.
A unique key for the node.
val raw_value : 't t -> 'tA string value for the node, used for features like typeahead.
The source object this node was created from.
val text_value : 't t -> stringWhether the node is disabled.
A string value for the node, used for features like typeahead.
val disabled : 't t -> boolThe level of depth this node is at in the hierarchy.
Whether the node is disabled.
val level : 't t -> floatThe index of this node within its parent.
The level of depth this node is at in the hierarchy.
val index : 't t -> floatThe key of the node before this node.
The index of this node within its parent.
val prev_key : 't t -> string optionThe key of the node after this node.
The key of the node before this node.
val next_key : 't t -> string optionThe key of the node after this node.
val make :
type_:[ `section | `item ] ->
key:string ->
raw_value:'t ->
text_value:string ->
disabled:bool ->
level:float ->
index:float ->
?prev_key:string ->
?next_key:string ->
unit ->
't t