Skip to content

Commit

Permalink
refactor(slider)!: Remove deprecated calciteSliderUpdate event. #5798
Browse files Browse the repository at this point in the history
  • Loading branch information
driskull committed Dec 1, 2022
1 parent 7d3346f commit 00814e0
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 737 deletions.
12 changes: 0 additions & 12 deletions src/components/slider/slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -900,17 +900,6 @@ export class Slider
*/
@Event({ cancelable: false }) calciteSliderChange: EventEmitter<void>;

/**
* Fires on all updates to the component.
*
* **Note:** Will be fired frequently during drag. If you are performing any
* expensive operations consider using a debounce or throttle to avoid
* locking up the main thread.
*
* @deprecated use `calciteSliderInput` instead.
*/
@Event({ cancelable: false }) calciteSliderUpdate: EventEmitter<void>;

//--------------------------------------------------------------------------
//
// Public Methods
Expand Down Expand Up @@ -1079,7 +1068,6 @@ export class Slider

private emitInput(): void {
this.calciteSliderInput.emit();
this.calciteSliderUpdate.emit();
}

private emitChange(): void {
Expand Down
Loading

0 comments on commit 00814e0

Please sign in to comment.