File

src/app/shared/components/truncator/trail-position-type.model.ts

Description

Indicator of were the ellipsis indicator is placed for the Truncator component.

Example

Index

Properties

Constructor

constructor(id: number, name: string)
Parameters :
Name Type Optional Description
id number
name string

Properties

Static END
END:
Public id
id: number
Type : number
Public name
name: string
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');

}

results matching ""

    No results matching ""