More updates for the latest version.

This commit is contained in:
Blake Niemyjski
2014-03-10 09:39:05 -05:00
parent 9dcfafacb5
commit 3d44fb65ea
+7 -11
View File
@@ -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 {