interface / @typed/ui/index

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.13
Category
Child visibility
Since
1.0.0
Member of
Tree

Import

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

Access Tree.GroupOptions through the imported Tree export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

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