()
| 387 | }; |
| 388 | |
| 389 | componentWillLoad() { |
| 390 | /** |
| 391 | * If user has custom ID set then we should |
| 392 | * not assign the default incrementing ID. |
| 393 | */ |
| 394 | if (this.el.hasAttribute('id')) { |
| 395 | this.rangeId = this.el.getAttribute('id')!; |
| 396 | } |
| 397 | |
| 398 | this.inheritedAttributes = inheritAriaAttributes(this.el); |
| 399 | // If min, max, or step are not safe, set them to 0, 100, and 1, respectively. |
| 400 | // Each watch does this, but not before the initial load. |
| 401 | this.min = isSafeNumber(this.min) ? this.min : 0; |
| 402 | this.max = isSafeNumber(this.max) ? this.max : 100; |
| 403 | this.step = isSafeNumber(this.step) ? this.step : 1; |
| 404 | } |
| 405 | |
| 406 | componentDidLoad() { |
| 407 | this.originalIonInput = this.ionInput; |
nothing calls this directly
no test coverage detected