You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chatai/dist/dev/mp-weixin/utils/device/vibrate.js

10 lines
247 B

"use strict";
const common_vendor = require("../../common/vendor.js");
function vibrate(duration) {
if (duration > 400) {
common_vendor.index.vibrateLong();
} else {
common_vendor.index.vibrateShort();
}
}
exports.vibrate = vibrate;