File

src/app/ui/selector/selector.component.ts

Index

Properties

Properties

id
id: string
Type : string
label
label: string
Type : string
listItems
listItems: Item[]
Type : Item[]
name
name: string
Type : string
selectorNgModel
selectorNgModel: any
Type : any
import {Component, Input, OnInit} from '@angular/core';

interface Item {
    label: string,
    value: string
}

interface SelectorConfig {
    label: string,
    name: string,
    id: string,
    selectorNgModel: any,
    listItems: Item[]
}

@Component({
    selector: 'framadate-selector',
    templateUrl: './selector.component.html',
    styleUrls: ['./selector.component.scss']
})
export class SelectorComponent implements OnInit {
    @Input() selectorConfig: SelectorConfig;

    constructor() {
    }

    ngOnInit() {
    }

}

result-matching ""

    No results matching ""