File

angular/projects/researchdatabox/portal-ng-common/src/lib/form/form-base.model.ts

Index

Properties

Constructor

constructor(initJson: any)
Parameters :
Name Type Optional
initJson any No

Properties

id
Type : string
label
Type : string
name
Type : string
value
Type : T
export abstract class ModelBase<T> {
  value: T;
  id: string;
  name: string;
  label: string;

  constructor(initJson: any) {
    this.value = initJson.value;
    this.id = '';
    this.name = '';
    this.label = '';
  }
}

results matching ""

    No results matching ""