Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(VFileUpload): add new component #19667

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from
Open

feat(VFileUpload): add new component #19667

wants to merge 14 commits into from

Conversation

johnleider
Copy link
Member

@johnleider johnleider commented Apr 23, 2024

Motivation and Context

closes #8812

Markup:

    <template #item="{ props: itemProps }">
      <v-file-upload-item v-bind="itemProps" lines="one" nav>
        <template #prepend>
          <v-avatar size="32" rounded />
        </template>

        <template #clear="{ props: clearProps }">
          <v-btn color="primary" v-bind="clearProps" />
        </template>
      </v-file-upload-item>
    </template>
  </v-file-upload>
  <pre>{{ JSON.stringify(file, null, 2) }}</pre>
  <br>
  <br>
  <br>
  <v-file-upload density="comfortable" />
  <br>
  <br>
  <br>
  <v-file-upload density="compact" />
</div>
<script setup> import { ref, watchEffect } from 'vue' const model = ref(null) const file = ref(null) </script>
</details>

@johnleider johnleider self-assigned this Apr 23, 2024
@johnleider johnleider marked this pull request as ready for review April 30, 2024 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants