From 3d44fb65ea35ed5a2704bca3afad4d70bcc4ab7a Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Mon, 10 Mar 2014 09:39:05 -0500 Subject: [PATCH] More updates for the latest version. --- zeroclipboard/zeroclipboard.d.ts | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/zeroclipboard/zeroclipboard.d.ts b/zeroclipboard/zeroclipboard.d.ts index f4799fc92..44c6423ed 100644 --- a/zeroclipboard/zeroclipboard.d.ts +++ b/zeroclipboard/zeroclipboard.d.ts @@ -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 {