Share via


Copy Button fxCopyButton (fx.copybutton.js)

 

Applies To: Windows Azure Pack

fxCopyButton provides a one-click method to get text onto the user's clipboard.It is useful when a long string (such as a URL or ID) is copied by the user, or where the text would be cut-off, preventing copying.

Windows Azure Pack fxCopyButton

Supported Services

Service

Supported

Undo/Redo

Not Applicable

Validation

Not Applicable

Widgets

$("Selector").fxCopyButton()

Properties

Name

Type

Description

fx.fxCopyButton.options.complete

Function

Callback function once the text has been copied to the clip board.

fx.fxCopyButton.options.getClipboardText

Function

Callback function to get the text to be copied into the clipboard. Required.

Methods

Name

Description

Returns

Parameters

fx.fxCopyButton.destroy

Destroys the widget

Nothing

None

fx.fxCopyButton.options.flashNotInstalled

Callback function called when Adobe Flash is not installed.

Nothing

None

See Also

Windows Azure Pack Extension Common Control Services
Windows Azure Pack Management Portal User Interface Extensions