mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-11 21:15:07 +00:00
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'
|
||
|
];
|
||
|
|
||
|
}
|