ng2-bootstrap-base-modified
Version:
Native Angular Bootstrap Components Typeahead modified
28 lines (25 loc) • 898 B
text/typescript
import { Component, Input } from '@angular/core';
import { ProgressbarConfig } from './progressbar.config';
export class ProgressbarComponent {
/** if `true` changing value of progress bar will be animated (note: not supported by Bootstrap 4) */
public animate:boolean;
/** maximum total value of progress element */
public max:number;
/** provide one of the four supported contextual classes: `success`, `info`, `warning`, `danger` */
public type:string;
/** current value of progress bar */
public value:number;
public constructor(config: ProgressbarConfig) {
Object.assign(this, config);
}
}