Sean Condon | a36f65c | 2019-05-20 08:21:41 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright ${year}-present Open Networking Foundation |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
| 16 | |
Sean Condon | 13f42b7 | 2019-05-31 16:17:52 +0100 | [diff] [blame^] | 17 | <svg:svg xmlns:svg="http://www.w3.org/2000/svg"> |
| 18 | <svg:g (click)="welcomeClicked(colour)"> |
| 19 | <svg:circle r="50" cx="100" cy="55" [attr.fill]="colour"> |
| 20 | </svg:circle> |
| 21 | <svg:text x="100" y="60" width="200" text-anchor="middle" style="font-weight:bold;">Welcome: {{message}}</svg:text> |
| 22 | <svg:use [attr.xlink:href]="'#bird'" style="fill-opacity:0.2" width="80" height="80" x="60" y="10"> |
| 23 | </svg:use> |
| 24 | </svg:g> |
| 25 | </svg:svg> |