- npm updates
- add favicon via template - add popup.service.ts
This commit is contained in:
parent
bc44385846
commit
72cc5241af
9 changed files with 135 additions and 122 deletions
13
src/app/services/popup.service.ts
Normal file
13
src/app/services/popup.service.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable()
|
||||
export class PopupService {
|
||||
|
||||
constructor() { }
|
||||
|
||||
makeCapitalPopup(data: any): string {
|
||||
return `` +
|
||||
`<div>Name: ${data.label}</div>` +
|
||||
`<a href=${data.href} target="_blank">Visit station api</a>`
|
||||
}
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue