mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Updates the `ng_elements` integration test to work with the APF v13 format by also enabling the linker for the FW packages. PR Close #43431
15 lines
619 B
TypeScript
15 lines
619 B
TypeScript
import {platformBrowser} from '@angular/platform-browser';
|
|
import {AppModule} from './app';
|
|
|
|
platformBrowser().bootstrapModule(AppModule, {ngZone: 'noop'});
|
|
|
|
const input = document.querySelector('input')!;
|
|
const helloWorld = document.querySelector('hello-world-el')!;
|
|
const helloWorldOnpush = document.querySelector('hello-world-onpush-el')!;
|
|
const helloWorldShadow = document.querySelector('hello-world-shadow-el')!;
|
|
|
|
input.addEventListener('input', () => {
|
|
helloWorld.setAttribute('name', input.value);
|
|
helloWorldOnpush.setAttribute('name', input.value);
|
|
helloWorldShadow.setAttribute('name', input.value);
|
|
});
|