mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit introduces integration tests for hydration and event reply functionalities. Additionally, it implements a payload size check for the `event-dispatch-contract.min.js`. PR Close #55708
16 lines
404 B
TypeScript
16 lines
404 B
TypeScript
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.';
|
|
};
|
|
}
|