Skip to content

Commit

Permalink
Format ColorPickerSetInterpolationActiveEvent.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dli7319 committed Feb 2, 2025
1 parent 36134be commit f59d3be
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/ColorPickerSetInterpolationActiveEvent.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { ActiveColorSide } from "./ColorInterpolation";

export class ColorPickerSetInterpolationActiveEvent extends Event {
static readonly eventName = "set-interpolation-active";
active: ActiveColorSide;

constructor(active: ActiveColorSide) {
super(ColorPickerSetInterpolationActiveEvent.eventName, { bubbles: true, composed: true });
this.active = active;
}
}
static readonly eventName = "set-interpolation-active";
active: ActiveColorSide;

constructor(active: ActiveColorSide) {
super(ColorPickerSetInterpolationActiveEvent.eventName, {
bubbles: true,
composed: true,
});
this.active = active;
}
}

0 comments on commit f59d3be

Please sign in to comment.