interface / @typed/ui

Disclosure.ButtonOptions

Options for the native <summary> trigger.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Summary activation
Since
1.0.0
Member of
Disclosure

Import

import { Disclosure } from "@typed/ui";

Access Disclosure.ButtonOptions through the imported Disclosure 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 ButtonOptions extends Dom.HostOptions<HTMLElement> {
    readonly content: Renderable.Any;
}

Why

Summary preserves built-in pointer, keyboard, and disclosure behavior.

Ownership and lifetime

Options are inert; dynamic content follows the rendered Scope.

Property: content

Visible summary content and accessible name.

Property: content: Why

Native summary content labels its containing details element.

Property: content: Ownership and lifetime

Dynamic content follows the trigger Scope.

Other public imports

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

Source