/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/select/select-custom-trigger/select-custom-trigger-example.ts
17 строк
714 B
Kristiyan Kostadinov
docs: remove standalone flag from examples
17 окт 2024, 17:40
17 окт 2024, 17:40
36f4cca
Код
Авторство
О чём код?
import {Component} from '@angular/core'; import {FormControl, FormsModule, ReactiveFormsModule} from '@angular/forms'; import {MatSelectModule} from '@angular/material/select'; import {MatFormFieldModule} from '@angular/material/form-field'; /** @title Select with custom trigger text */ @Component({ selector: 'select-custom-trigger-example', templateUrl: 'select-custom-trigger-example.html', styleUrl: 'select-custom-trigger-example.css', imports: [MatFormFieldModule, MatSelectModule, FormsModule, ReactiveFormsModule], }) export class SelectCustomTriggerExample { toppings = new FormControl(''); toppingList: string[] = ['Extra cheese', 'Mushroom', 'Onion', 'Pepperoni', 'Sausage', 'Tomato']; }