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
*`uiZeroclipConfigProvider.setZcConf({})` Config the ZeroClipboard
38
+
39
+
The params is an object. and just same as [ZeroClipboard official config](https://github.com/zeroclipboard/zeroclipboard/blob/1.x-master/docs/instructions.md)
40
+
41
+
*`uiZeroclipConfigProvider.setOptions()` Config this directive Config
42
+
43
+
```
44
+
{
45
+
// set the button class
46
+
buttonClass: '',
47
+
48
+
// set button's Text
49
+
buttonText: 'Copy',
50
+
51
+
// set the callback function of the events which ZeroClipboard dispataches
52
+
load: null,
53
+
mouseover: null,
54
+
mouseout: null,
55
+
mousedown: null,
56
+
mouseup: null,
57
+
complete: null,
58
+
noflash: null,
59
+
wrongflash: null,
60
+
dataRequested: null
61
+
}
62
+
```
14
63
15
64
## LICENSE
16
65
@@ -20,4 +69,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
20
69
21
70
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
22
71
23
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
72
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 commit comments