interface / @typed/ui/Tree

GroupOptions

Inputs accepted by Tree.Group in addition to the shared DOM host options.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Child visibility
Since
1.0.0

Import

import { GroupOptions } from "@typed/ui/Tree";

Signatures

export interface GroupOptions extends Dom.HostOptions<HTMLDivElement> {
    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
    readonly parentId: string;
    readonly content: Renderable.Any;
}

Property: content

Renderable child content for the component host.

Property: parentId

Id whose expansion controls this descendant group.

Property: state

Renderer-independent RefSubject state consumed by this component or operation.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source