import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'cm-select-doc-8', templateUrl: './select-doc-8.component.html', styleUrls: ['./select-doc-8.component.css'] }) export class SelectDoc8Component implements OnInit { options = [ { value: 'android', label: 'android' }, { value: 'apple', label: 'apple' }, { value: 'windows', label: 'windows' }, { value: 'ie', label: 'ie' }, { value: 'chrome', label: 'chrome' }, { value: 'github', label: 'github' }, { value: 'aliwangwang', label: 'aliwangwang' }, { value: 'dingding', label: 'dingding' }, ]; selectedOption = this.options[ 0 ]; constructor() {} ngOnInit() {} }