You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,12 @@ The params is an object. and just same as [ZeroClipboard official config](https:
48
48
// set button's Text
49
49
buttonText:'Copy',
50
50
51
+
// set `true`, then when trigger an event by clipboard, it will emit an angular event by .$emit()
52
+
// then you can listen the angular type event in your controller.
53
+
// the event which be emited will bt like: 'ZeroClipboard.[eventType]', for example: 'ZeroClipboard.complete'
54
+
// ATTENTION: if you set this to true, the callback functions you set below will be ignored.
55
+
emitEvent:true,
56
+
51
57
// set the callback function of the events which ZeroClipboard dispataches
52
58
load:null,
53
59
mouseover:null,
@@ -63,6 +69,8 @@ The params is an object. and just same as [ZeroClipboard official config](https:
63
69
64
70
## LICENSE
65
71
72
+
MIT LICENSE
73
+
66
74
Copyright (C) 2014 lisposter(Leigh Zhu)
67
75
68
76
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
0 commit comments