aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/form-elements/text-elements/input/input.component.ts
blob: 48b177bb871f2c3b8880443f074435d4833c54c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { template } from "./input.component.html";
import { BaseTextElementComponent } from "../base-text-element.component";
import 'rxjs/add/operator/debounceTime';

@Component({
    selector: 'sdc-input',
    template: template,
})
export class InputComponent extends BaseTextElementComponent {
    @Input() public type: string;

    constructor() {
        super();
        this.type = 'text';
    }

}