function / @typed/ui/Menu

SubmenuTrigger

Renders a menuitem that targets nested popover content and coordinates parent/child directional focus.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Nested menus
Since
1.0.0

Import

import { SubmenuTrigger } from "@typed/ui/Menu";

Signatures

export declare function SubmenuTrigger<ParentState extends Composite.State, const Options extends SubmenuTriggerOptions<NoInfer<ParentState>>, const Host extends HostResult = never>(options: Options & {
    readonly state: RefSubject.HydratedRefSubject<ParentState, Schema.SchemaError>;
}, host?: Dom.HostOverride<Dom.RenderHostProps<Options, SubmenuTriggerProps<ParentState, Options>>, Options["content"], Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;

Other public imports

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

Source