shoelace/src/events
Ben Anderson 8fd01e1eda
Add event types to react wrapper components (#1419)
* Rename SlSlideChange for consistency with other events

* Setup React event types for events used by Shoelace components

Means that consumers of Shoelace via the React wrapper will be able to
use callback methods with the correct event type, instead of having to
rely on casting and friends when using Typescript.

* Add docs demonstrating importing event types for React callbacks
2023-07-12 11:31:27 -04:00
..
events.ts Add event types to react wrapper components (#1419) 2023-07-12 11:31:27 -04:00
sl-after-collapse.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-after-expand.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-after-hide.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-after-show.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-blur.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-cancel.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-change.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-clear.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-close.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-collapse.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-error.ts
sl-expand.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-finish.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-focus.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-hide.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-hover.ts
sl-initial-focus.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-input.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-invalid.ts Added sl-invalid event type 2023-02-14 23:06:47 -05:00
sl-lazy-change.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-lazy-load.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-load.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-mutation.ts
sl-remove.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-reposition.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-request-close.ts
sl-resize.ts
sl-select.ts
sl-selection-change.ts
sl-show.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-slide-change.ts Add event types to react wrapper components (#1419) 2023-07-12 11:31:27 -04:00
sl-start.ts Use PropertyKey instead of string where appropriate 2023-02-09 13:06:17 -05:00
sl-tab-hide.ts
sl-tab-show.ts