Skip to content

How to cancel a image with a button on top of it? #14545

Discussion options

You must be logged in to vote
<div
          v-for="(url, idx) in imageurls"
          :key="idx"
          class="q-mt-md q-mr-md"
          style="
            border-radius: 4px;
            border: 1px solid #ddd;
            display: inline-block;
            height: 80px;
            position: relative;
            width: 80px;
          "
        >
          <q-img
            :src="url"
            class="q-ma-xs"
            alt="uploaded image"
            fit="fill"
            spinner-color="white"
          />
          <q-btn
            @click="removeImage(url)"
            color="grey-5"
            icon="eva-close-outline"
            size="xs"
            style="position: absolute; top: -10px; right:…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chentao169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants