* ci(docs-infra): run docs examples tests in production mode (#28592) PR Close #28592 * docs: remove quickstart example and copy tsconfig.1.json into TS config guide (#28592) This example has long been replaced by the cli-quickstart, but was never deleted. PR Close #28592 * docs: enable E2E test for setup example (#28592) This guide is not being shown publicly, and its test is currently being ignored. Instead of deleting this test and guide, it may be repurposed in the future for a local development guide. PR Close #28592 * docs: ignore progression filenames from compilation (#28592) PR Close #28592 * docs: remove unused StringSafeDatePipe from AngularJS Quick Ref example (#28592) PR Close #28592 * docs: make parent finder functions compatible with AoT (#28592) PR Close #28592 * docs: make toggleImage arguments optional in AngularJS quick reference (#28592) PR Close #28592 * docs: add insert remove component to AppModule for animations example (#28592) PR Close #28592 * docs: ignore component for app compilation for displaying data example (#28592) PR Close #28592 * docs: ignore files from app compilation for ngmodule-faq example (#28592) PR Close #28592 * docs: ignore initial components for app compilation in router example (#28592) PR Close #28592 * docs: remove unused files in styleguide example (#28592) PR Close #28592 * docs: make method arguments optional in template syntax example (#28592) PR Close #28592 * docs: add more files to be ignored during app compilation (#28592) PR Close #28592 * docs: run component-interaction and DI in JiT mode (#28592) PR Close #28592 * docs: re-enable E2E tests for Http guide (#28592) PR Close #28592 * ci(docs-infra): test docs examples with Ivy (#28463) PR Close #28463 * fix(docs-infra): add progression files to exclude list for docs examples (#28650) Also disables Http guide under Ivy tests with documented error PR Close #28650 * fix(docs-infra): fix filtering in run-example-e2e.js (#28663) PR Close #28663 * test(ivy): enable more docs examples e2e tests (#28688) PR Close #28688
This commit is contained in:

committed by
Miško Hevery

parent
ecef0dd65e
commit
a873fab10c
@ -66,7 +66,7 @@ export class AppComponent implements AfterViewInit, OnInit {
|
||||
|
||||
currentHero: Hero;
|
||||
|
||||
deleteHero(hero: Hero) {
|
||||
deleteHero(hero?: Hero) {
|
||||
this.alert(`Delete ${hero ? hero.name : 'the hero'}.`);
|
||||
}
|
||||
|
||||
@ -105,18 +105,18 @@ export class AppComponent implements AfterViewInit, OnInit {
|
||||
|
||||
get nullHero(): Hero { return null; }
|
||||
|
||||
onClickMe(event: KeyboardEvent) {
|
||||
onClickMe(event?: KeyboardEvent) {
|
||||
let evtMsg = event ? ' Event target class is ' + (<HTMLElement>event.target).className : '';
|
||||
this.alert('Click me.' + evtMsg);
|
||||
}
|
||||
|
||||
onSave(event: KeyboardEvent) {
|
||||
onSave(event?: KeyboardEvent) {
|
||||
let evtMsg = event ? ' Event target is ' + (<HTMLElement>event.target).textContent : '';
|
||||
this.alert('Saved.' + evtMsg);
|
||||
if (event) { event.stopPropagation(); }
|
||||
}
|
||||
|
||||
onSubmit() {/* referenced but not used */}
|
||||
onSubmit(data: any) {/* referenced but not used */}
|
||||
|
||||
product = {
|
||||
name: 'frimfram',
|
||||
|
Reference in New Issue
Block a user