mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-11 13:05:08 +00:00
8910e6f5dc
+ Http changed with HttpClient, + Angular Material Element examples added, + angular2-markdown Library added
23 lines
429 B
TypeScript
23 lines
429 B
TypeScript
import {Component} from '@angular/core';
|
|
import {FormControl} from '@angular/forms';
|
|
|
|
/**
|
|
* @title Simple autocomplete
|
|
*/
|
|
@Component({
|
|
selector: 'autocomplete-simple-example',
|
|
templateUrl: 'autocomplete-simple-example.html',
|
|
styleUrls: ['autocomplete-simple-example.css']
|
|
})
|
|
export class AutocompleteSimpleExample {
|
|
|
|
myControl: FormControl = new FormControl();
|
|
|
|
options = [
|
|
'One',
|
|
'Two',
|
|
'Three'
|
|
];
|
|
|
|
}
|