Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IgxStepper string enums #10407

Merged
merged 2 commits into from
Nov 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions projects/igniteui-angular/src/lib/stepper/stepper.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,29 +118,29 @@ export interface IStepChangedEventArgs extends IBaseEventArgs {
export const IgxStepperOrientation = {
Horizontal: 'horizontal',
Vertical: 'vertical'
};
} as const;
export type IgxStepperOrientation = (typeof IgxStepperOrientation)[keyof typeof IgxStepperOrientation];

export const IgxStepType = {
Indicator: 'indicator',
Title: 'title',
Full: 'full'
};
} as const;
export type IgxStepType = (typeof IgxStepType)[keyof typeof IgxStepType];

export const IgxStepperTitlePosition = {
Bottom: 'bottom',
Top: 'top',
End: 'end',
Start: 'start'
};
} as const;
export type IgxStepperTitlePosition = (typeof IgxStepperTitlePosition)[keyof typeof IgxStepperTitlePosition];

export const VerticalAnimationType = {
Grow: 'grow',
Fade: 'fade',
None: 'none'
};
} as const;
export type VerticalAnimationType = (typeof VerticalAnimationType)[keyof typeof VerticalAnimationType];

// Token
Expand Down