Skip to content

Improve Custom Event types #3

Description

@colbyfayock

Sounds like there's a potentially better way for handling CustomEvent types: https://stackoverflow.com/a/68783088

Is there room for improvement where we're using custom events for callbacks?

CldVideoPlayer: https://github.com/colbyfayock/astro-cloudinary/pull/2/files#diff-499428a7954282f9e77a1d76faecccf1a33effd72d8538bef205c3f048ff862fR133-R141

This should also help improve and clear up the types in the demos and examples, such as DemoVideoPlayerEvents.astro from the docs

Update example in Basic Usage to include new syntax

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions