@@ -159,16 +159,16 @@ export class SliderWebcomponent extends BaseCustomWebComponentConstructorAppend
159
159
160
160
attributeChangedCallback ( name : string , oldValue : string , newValue : string ) {
161
161
if ( name == "value-min" ) {
162
- this . _valueMinChanged ( ) ;
162
+ this . _valueMinAttributeChanged ( ) ;
163
163
}
164
164
if ( name === "value-max" ) {
165
- this . valueMaxChanged ( ) ;
165
+ this . _valueMaxAttributeChanged ( ) ;
166
166
}
167
167
if ( name == "min" ) {
168
- this . minChanged ( ) ;
168
+ this . _minAttributeChanged ( ) ;
169
169
}
170
170
if ( name === "max" ) {
171
- this . maxChanged ( ) ;
171
+ this . _maxAttributeChanged ( ) ;
172
172
}
173
173
}
174
174
@@ -304,24 +304,24 @@ export class SliderWebcomponent extends BaseCustomWebComponentConstructorAppend
304
304
}
305
305
}
306
306
307
- private _valueMinChanged ( ) {
307
+ private _valueMinAttributeChanged ( ) {
308
308
if ( ! this . _ready ) return ;
309
309
this . _numberInputs [ 0 ] . value = this . valueMin . toString ( ) ;
310
310
this . _numberInputs [ 0 ] . dispatchEvent ( new Event ( 'blur' , { bubbles : true } ) ) ;
311
311
}
312
312
313
- private valueMaxChanged ( ) {
313
+ private _valueMaxAttributeChanged ( ) {
314
314
if ( ! this . _ready ) return ;
315
315
this . _numberInputs [ 1 ] . value = this . valueMax . toString ( ) ;
316
316
this . _numberInputs [ 1 ] . dispatchEvent ( new Event ( 'blur' , { bubbles : true } ) ) ;
317
317
}
318
318
319
- private minChanged ( ) {
319
+ private _minAttributeChanged ( ) {
320
320
if ( ! this . _ready ) return ;
321
321
this . _updateRangeInputsMinMax ( ) ;
322
322
}
323
323
324
- private maxChanged ( ) {
324
+ private _maxAttributeChanged ( ) {
325
325
if ( ! this . _ready ) return ;
326
326
this . _updateRangeInputsMinMax ( ) ;
327
327
}
0 commit comments