UNPKG

share-menu

Version:

A complete and simple to use share menu.

20 lines (19 loc) 667 B
import type { ShareMenu, ShareTarget } from '../share-menu.js'; export declare class XINGShareTarget extends HTMLElement implements ShareTarget { readonly displayName = "XING"; readonly color = "026466"; readonly icon = "M157 256l-57-100L189 0h60l-89 156 57 100zm-94-77l45-74-33-58H18l34 58-45 74z"; /** * A URL to redirect to after the share has been completed. * * @return {string | null} */ get followUrl(): string | null; set followUrl(val: string | null | undefined); share(shareMenu: ShareMenu): void; } declare global { interface HTMLElementTagNameMap { 'share-target-xing': XINGShareTarget; } }