Project

General

Profile

« Previous | Next » 

Revision 57941

[Library | Trunk]: Move Option to input component

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/dashboard/sharedComponents/input/input.component.ts
1 1
import {Component, Input, OnDestroy, OnInit} from "@angular/core";
2
import {Option} from "../../../../utils/indicator-utils";
3 2
import {AbstractControl} from "@angular/forms";
4 3
import {HelperFunctions} from "../../../utils/HelperFunctions.class";
5 4

  
5

  
6
export interface Option {
7
  icon?: string,
8
  iconClass?: string,
9
  value: any,
10
  label: string
11
}
12

  
6 13
@Component({
7 14
  selector: '[dashboard-input]',
8 15
  template: `

Also available in: Unified diff