/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/autocomplete/autocomplete-origin.ts
21 строка
570 B
Kristiyan Kostadinov
fix(multiple): remove empty constructors (#33048)
08 апр 2026, 22:21
Не верифицирован
08 апр 2026, 22:21
ce4c2c0
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Directive, ElementRef, inject} from '@angular/core'; /** * Directive applied to an element to make it usable * as a connection point for an autocomplete panel. */ @Directive({ selector: '[matAutocompleteOrigin]', exportAs: 'matAutocompleteOrigin', }) export class MatAutocompleteOrigin { elementRef = inject<ElementRef<HTMLElement>>(ElementRef); }