We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f5b07b commit 9f83aaeCopy full SHA for 9f83aae
src/plugins/vue-imgix/ix-img.tsx
@@ -16,6 +16,7 @@ const IxImgProps = Vue.extend({
16
width: [String, Number],
17
height: [String, Number],
18
attributeConfig: Object,
19
+ disableVariableQuality: Boolean,
20
},
21
});
22
@@ -41,10 +42,16 @@ export class IxImg extends IxImgProps {
41
42
}),
43
};
44
- const { src, srcset } = this.vueImgixSingleton.buildUrlObject(this.src, {
45
- ...imgixParamsFromImgAttributes,
46
- ...this.imgixParams,
47
- });
+ const { src, srcset } = this.vueImgixSingleton.buildUrlObject(
+ this.src,
+ {
48
+ ...imgixParamsFromImgAttributes,
49
+ ...this.imgixParams,
50
+ },
51
52
+ disableVariableQuality: this.disableVariableQuality ?? false,
53
54
+ );
55
56
const attributeConfig = {
57
...defaultAttributeMap,
0 commit comments