@whitesev/utils 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.amd.js +4 -1
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +4 -1
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +4 -1
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/Utils.d.ts +18 -0
- package/package.json +1 -1
- package/src/Utils.ts +83 -2
package/dist/index.amd.js
CHANGED
|
@@ -5104,7 +5104,10 @@ define((function () { 'use strict';
|
|
|
5104
5104
|
selection.addRange(range);
|
|
5105
5105
|
}
|
|
5106
5106
|
}
|
|
5107
|
-
setClip(data, info
|
|
5107
|
+
setClip(data, info = {
|
|
5108
|
+
type: "text",
|
|
5109
|
+
mimetype: "text/plain",
|
|
5110
|
+
}) {
|
|
5108
5111
|
if (typeof data === "object") {
|
|
5109
5112
|
if (data instanceof Element) {
|
|
5110
5113
|
data = data.outerHTML;
|