Skip to content

cupertino-files / CategoryGroup

Interface: CategoryGroup ​

Defined in: src/tst/categories.ts:186

One group in the tree.

Properties ​

children ​

children: CategoryGroup[]

Defined in: src/tst/categories.ts:200


label ​

label: string

Defined in: src/tst/categories.ts:190

Value rendered for display.


level ​

level: number

Defined in: src/tst/categories.ts:192

Depth, where 0 is the outermost category.


rows ​

rows: number[]

Defined in: src/tst/categories.ts:199

Rows in this group, as absolute row indexes.

On a nested group these are that subgroup's rows only; a parent's rows are the union of its children's.


value ​

value: GroupValue

Defined in: src/tst/categories.ts:188

Value the group collects, e.g. "Animal". Absent on the root.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.