"use strict";
const common_vendor = require("../../../../common/vendor.js");
function UniCopy(text, config) {
  const opt = Object.assign({ data: text }, config);
  common_vendor.index.setClipboardData(opt);
}
function clipboard(content, options) {
  const text = String(content);
  const defaultOpt = {
    showToast: true,
    success: () => {
    },
    fail: () => {
    },
    complete: () => {
    }
  };
  const config = Object.assign(defaultOpt, options);
  UniCopy(text, config);
}
exports.clipboard = clipboard;
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-pro/libs/function/clipboard.js.map
