igniteui-angular-sovn
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
21 lines (17 loc) • 566 B
text/typescript
import { InjectionToken } from '@angular/core';
import { mkenum } from '../core/utils';
const IgxInputGroupEnum = mkenum({
Line: 'line',
Box: 'box',
Border: 'border',
Search: 'search'
});
/**
* Defines the InputGroupType DI token.
*/
// Should this go trough Interface https://angular.io/api/core/InjectionToken
export const IGX_INPUT_GROUP_TYPE = new InjectionToken<IgxInputGroupType>('InputGroupType');
/**
* Determines the InputGroupType.
*/
export type IgxInputGroupType = (typeof IgxInputGroupEnum)[keyof typeof IgxInputGroupEnum];