/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
integration/platform-server-hydration/src/app/app.component.ts
16 строк
404 B
Alan Agius
test: add Integration tests for hydration and event reply (#55708)
07 май 2024, 23:39
07 май 2024, 23:39
8630dc8
Код
Авторство
О чём код?
import {Component} from '@angular/core'; import {RouterOutlet} from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css', }) export class AppComponent { title = 'hydration'; onClick = () => { document.querySelector('#divElement')!.textContent = 'click triggered.'; }; }