Experimenting with the ShareButton

This commit is contained in:
Pieter Vander Vennet 2020-11-22 03:50:09 +01:00
parent e10f9b61e2
commit 2d25393962
7 changed files with 61 additions and 23 deletions

View file

@ -15,7 +15,7 @@ export default class ShareButton extends UIElement{
}
InnerRender(): string {
return `<button type="button" id="${this.id}">${this._embedded.Render()}</button>`
return `<button type="button" class="share-button" id="${this.id}">${this._embedded.Render()}</button>`
}
protected InnerUpdate(htmlElement: HTMLElement) {