Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
ZeroClipboard
Class ZeroClipboard
Index
Constructor methods
constructor
Properties
activeClass
hoverClass
moviePath
ready
text
trustedDomains
version
Methods
activate
clip
config
deactivate
destroy
emit
off
on
reposition
setSize
setText
title
unclip
Constructor methods
constructor
(
elements
?:
any
, options
?:
ZeroClipboardOptions
)
:
ZeroClipboard
Parameters
elements?:
any
optional
options?:
ZeroClipboardOptions
optional
Returns
ZeroClipboard
Properties
public
activeClass
:
string
public
hoverClass
:
string
public
moviePath
:
string
public
ready
:
boolean
public
text
:
string
public
trustedDomains
:
any
public
version
:
string
Methods
public
activate
(
element
:
any
)
Parameters
element:
any
public
clip
(
elements
:
any
)
Parameters
elements:
any
public
static
config
(
options
:
ZeroClipboardOptions
)
Parameters
options:
ZeroClipboardOptions
public
deactivate
(
)
public
static
destroy
(
)
public
static
emit
(
eventName
:
string
, args
:
any
)
Parameters
eventName:
string
args:
any
public
off
(
eventName
:
string
, func
:
Function
)
Parameters
eventName:
string
func:
Function
public
on
(
eventName
:
string
, func
:
Function
)
Parameters
eventName:
string
func:
Function
public
reposition
(
)
public
setSize
(
width
:
number
, height
:
number
)
Parameters
width:
number
height:
number
public
setText
(
newText
:
string
)
Parameters
newText:
string
public
title
(
newTitle
:
string
)
Parameters
newTitle:
string
public
unclip
(
elements
:
any
)
Parameters
elements:
any
Globals
zeroclipboard