()
| 412 | } |
| 413 | |
| 414 | connectedCallback() { |
| 415 | this.updateRatio(); |
| 416 | this.debounceChanged(); |
| 417 | this.disabledChanged(); |
| 418 | this.activeBarStartChanged(); |
| 419 | |
| 420 | /** |
| 421 | * If we have not yet rendered |
| 422 | * ion-range, then rangeSlider is not defined. |
| 423 | * But if we are moving ion-range via appendChild, |
| 424 | * then rangeSlider will be defined. |
| 425 | */ |
| 426 | if (this.didLoad) { |
| 427 | this.setupGesture(); |
| 428 | this.setupActivatedObserver(); |
| 429 | } |
| 430 | |
| 431 | const ionContent = findClosestIonContent(this.el); |
| 432 | this.contentEl = ionContent?.querySelector('.ion-content-scroll-host') ?? ionContent; |
| 433 | } |
| 434 | |
| 435 | disconnectedCallback() { |
| 436 | if (this.gesture) { |
nothing calls this directly
no test coverage detected