Skip to content

Examples for trigger events such as onAdd, onDelete in the documentation #207

Open
@max-carroll

Description

@max-carroll

Feature Request

Describe the problem related to this feature request

Add some examples for the events to the DropzoneArea.md, this will enable us to easily verify that we haven't broken it whilst developing new features and also showcase how to use the feature.

We could include

  • onChange (although I think they already use this)
  • onDelete
  • onDrop
  • onDropRejected

Describe the solution you'd like

Perhaps we could even have one example which does all? Thoughts?

Describe alternatives you've considered

We could stash a version of the DropzoneArea.md which we unstash when we need to test it
We could have something separate just for development which would make it easier to verify it

Teachability, Documentation, Adoption, Migration Strategy

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsDocumentation related issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions