Sets the styles for the active portion of the track.
(styles: {
left: string;
right: string;
transform: string;
transformOrigin: string;
})
| 578 | |
| 579 | /** Sets the styles for the active portion of the track. */ |
| 580 | _setTrackActiveStyles(styles: { |
| 581 | left: string; |
| 582 | right: string; |
| 583 | transform: string; |
| 584 | transformOrigin: string; |
| 585 | }): void { |
| 586 | const trackStyle = this._trackActive.nativeElement.style; |
| 587 | |
| 588 | trackStyle.left = styles.left; |
| 589 | trackStyle.right = styles.right; |
| 590 | trackStyle.transformOrigin = styles.transformOrigin; |
| 591 | trackStyle.transform = styles.transform; |
| 592 | } |
| 593 | |
| 594 | /** Returns the translateX positioning for a tick mark based on it's index. */ |
| 595 | _calcTickMarkTransform(index: number): string { |
no outgoing calls
no test coverage detected