mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-22 11:40:10 +08:00
More updates for the latest version.
This commit is contained in:
Vendored
+7
-11
@@ -6,31 +6,27 @@
|
||||
|
||||
declare class ZeroClipboard {
|
||||
constructor(elements?: any, options?: ZeroClipboardOptions);
|
||||
setCurrent(element: any): void;
|
||||
activate(element: any): void;
|
||||
setText(newText: string): void;
|
||||
setTitle(newTitle: string): void;
|
||||
title(newTitle: string): void;
|
||||
setSize(width: number, height: number): void;
|
||||
setHandCursor(enabled: boolean): void;
|
||||
forceHandCursor(enabled: boolean): void;
|
||||
version: string;
|
||||
moviePath: string;
|
||||
trustedDomains: any;
|
||||
text: string;
|
||||
hoverClass: string;
|
||||
activeClass: string;
|
||||
resetBridge(): void;
|
||||
deactivate(): void;
|
||||
ready: boolean;
|
||||
reposition(): void; // returns false in some scenarios, but never returns true
|
||||
on(eventName: string, func: Function): void;
|
||||
addEventListener(eventName: string, func: Function): void;
|
||||
off(eventName: string, func: Function): void;
|
||||
removeEventListener(eventName: string, func: Function): void;
|
||||
receiveEvent(eventName: string, args: any): void;
|
||||
glue(elements: any): void;
|
||||
unglue(elements: any): void;
|
||||
clip(elements: any): void;
|
||||
unclip(elements: any): void;
|
||||
static config(options: ZeroClipboardOptions): void;
|
||||
static destroy(): void;
|
||||
static detectFlashSupport(): boolean;
|
||||
static dispatch(eventName: string, args: any): void;
|
||||
static emit(eventName: string, args: any): void;
|
||||
}
|
||||
|
||||
interface ZeroClipboardOptions {
|
||||
|
||||
Reference in New Issue
Block a user