File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44 <span class =" width-finder width-placeholder" ref =" widthPlaceholder" >{{placeholder}}</span >
55 <div v-if =" maxFontSize" class =" full-width" :class =" {'width-finder': maxWidth > 0}" >Width</div >
66 <span class =" width-finder width-value" ref =" widthValue" >{{formattedValue || ''}}</span >
7- <input type =" text" class =" nq-input nq-light-blue vanishing"
7+ <input type =" text" class =" nq-input nq-light-blue" :class = " vanishing"
88 :placeholder =" placeholder"
99 :style =" {width: `${this.width}px`, fontSize: `${this.fontSize}rem`}"
1010 v-model =" formattedValue"
@@ -30,6 +30,7 @@ export default class AmountInput extends Vue {
3030 @Prop ({type: Number }) private value? : number ;
3131 @Prop ({type: Number , default: 8 }) private maxFontSize! : number ;
3232 @Prop ({type: String , default: ' 0' }) private placeholder! : string ;
33+ @Prop ({type: Boolean , default: false }) private vanishing! : boolean ;
3334
3435 private liveValue: string = ' ' ;
3536 private lastEmittedValue = 0 ;
You can’t perform that action at this time.
0 commit comments