Skip to content

Commit

Permalink
always use camelCase for events
Browse files Browse the repository at this point in the history
  • Loading branch information
spearwolf committed Nov 17, 2023
1 parent 12e648c commit 7b09ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/twopoint5d-elements/src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {StageRenderFrame, StageRenderFrameProps} from '@spearwolf/twopoint5
/**
* published by the <two5-stage2d> element as object event and customevent
*/
export const StageResize = 'stageresize';
export const StageResize = 'stageResize';

export interface StageResizeProps {
name?: string;
Expand All @@ -26,7 +26,7 @@ export interface StageRenderFrameEvent extends Event {
/**
* published by the <two5-stage2d> element as object event and promise
*/
export const StageFirstFrame = 'stagefirstframe';
export const StageFirstFrame = 'stageFirstFrame';

export interface StageFirstFrameProps extends StageRenderFrameProps {
stage: Stage2D;
Expand Down

0 comments on commit 7b09ae7

Please sign in to comment.