private lastScrollHash: string
constructor (
- private customMarkupService: CustomMarkupService,
private viewportScroller: ViewportScroller,
private route: ActivatedRoute,
private notifier: Notifier,
this.html = await this.instanceService.buildHtml(about)
- await this.injectDescription(about)
-
this.initialized = true
}
copyToClipboard(link)
this.notifier.success(link, $localize `Link copied`)
}
-
- private async injectDescription (about: About) {
- const element = await this.customMarkupService.buildElement(about.instance.description)
-
- this.descriptionWrapper.nativeElement.appendChild(element)
- }
}