| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <div class="ping-pong-view--main"> |
| <h2>This is an implementation of Ping-Pong View in Angular</h2> |
| |
| <p class="ping-pong-view--p-iframe"> |
| The envelope boundary border is green. It can be an iFrame or a Div. (It's possible to use Div if using web |
| components made from Angular components) |
| </p> |
| <p class="ping-pong-view--p-ping-pong">The Ping-Pong View implementation border is red</p> |
| |
| <div class="ping-pong-view--container"> |
| <i>#{{ pingPongApiService.initArgs?.name }}</i> |
| |
| <div class="ping-pong-view--header"> |
| <span>Hello from Angular!</span> |
| <button (click)="pingPongApiService.ping()">Ping others!</button> |
| </div> |
| <div class="ping-pong-view--log"> |
| <p *ngFor="let entry of log | async" class="ping-pong-view--line"> |
| {{ entry.line }} |
| </p> |
| </div> |
| </div> |
| </div> |