function / @typed/ui/Menu

Trigger

Renders a native button targeting menu popover content and opens the menu on ArrowDown.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Opening a menu
Since
1.0.0

Import

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

Signatures

export declare function Trigger<const Options extends TriggerOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, TriggerProps<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