API Reference

Espalier exports TypeScript types for event payloads and bus event maps, alongside utility functions. Use these contracts to type event handlers and shared services in your application.

For component properties, slots, and examples, use the component reference. See browser automation for interacting with controls through roles and labels.


Event Name Constants

  • ESP_EVENTS — Canonical string constants for every CustomEvent in the library.

Event Detail Types

Bus Event Maps

Functions

  • getEspBus — Typed accessor for the singleton bus.
  • showToast — Show a toast notification.

Configuration

  • ToastConfig — Configuration object for toast notifications.
Components API Guides Getting started Styling Espalier Browser support GitHub npm package Taproot I/O