src/app/shared/components/truncator/trail-position-type.model.ts
Indicator of were the ellipsis indicator is placed for the Truncator component.
Properties |
constructor(id: number, name: string)
|
Static END |
END:
|
Public id |
id:
|
Type : number
|
Public name |
name:
|
Type : string
|
Static START |
START:
|
export class TrailPositionType {
constructor(
public id: number,
public name: string
) {
if (this.name !== 'start' && this.name !== 'end') {
throw new Error('Unsupported TrailPositionType ' + name);
}
}
static START = new TrailPositionType(1, 'start');
static END = new TrailPositionType(2, 'end');
}