Skip to content

Commit

Permalink
fix(img-lazy): alt tag was being removed when image loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorehouse committed Oct 9, 2017
1 parent 7977777 commit f2fb99c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/components/img-lazy.vue
@@ -1,5 +1,6 @@
<template> <template>
<b-img :src="computedSrc" <b-img :src="computedSrc"
:alt="alt"
:blank="computedBlank" :blank="computedBlank"
:blank-color="blankColor" :blank-color="blankColor"
:width="computedWidth" :width="computedWidth"
Expand Down Expand Up @@ -35,6 +36,10 @@
default: null, default: null,
rqeuired: true rqeuired: true
}, },
alt: {
type: String,
default: null
},
width: { width: {
type: [Number, String], type: [Number, String],
default: null default: null
Expand Down

0 comments on commit f2fb99c

Please sign in to comment.