@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
13 lines (12 loc) • 592 B
TypeScript
import { ESLShareBaseAction } from '../core/esl-share-action';
import type { ESLShareButton } from '../core/esl-share-button';
/** Copy to clipboard {@link ESLShareBaseAction} implementation */
export declare class ESLShareCopyAction extends ESLShareBaseAction {
static readonly is: string;
/** Checks if this action is available on the user's device */
get isAvailable(): boolean;
/** Does an action to share */
share($button: ESLShareButton): Promise<void>;
/** Shows alert about the successful action completion */
protected showCopyAlert(msg: string): void;
}