Skip to content

make load and error an event? #7

@mesqueeb

Description

@mesqueeb

Hi! Thanks for this!!

I was just wondering instead of

<q-pdfviewer
      :value="true"
      :src="src"
      :error="onError"
      :load="onLoad"
      content-class="fit _container"
      inner-content-class="fit _container"
    />

isn't it more natural to have error and load be events like so:

    <q-pdfviewer
      :value="true"
      :src="src"
      @error="onError"
      @load="onLoad"
      content-class="fit _container"
      inner-content-class="fit _container"
    />

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions