Espalier API

Typed application contracts

Espalier exports TypeScript declarations for component events, event-detail payloads, the shared event bus, notification and flyout configuration, and utility functions. These declarations accompany the web components so an application can use the browser event model without replacing it with a framework-specific abstraction.

Event details and constants

ESP_EVENTS is the canonical event-name map. Public detail types describe the payload for form submission, selection, search, image ordering, tabs, toggles, and other component interactions. Use those exports instead of repeating string literals or locally redefining event payloads.

Shared services

The public API includes the typed Espalier event bus plus helpers such as showToast, showFlyout, and closeFlyout. Keep application code coupled to these documented exports rather than internal component modules.

The complete declaration-by-declaration API reference and source links remain available on the independent Espalier API site.

Components API Guides Getting started Styling Espalier Browser support GitHub npm package Taproot I/O