摘要:
这里采用构造函数的方式 function SetTime(){ this.hook =true } SetTime.prototype.setIntervals = function(fn,time){ if(this.hook){ setTimeout(()=>{ fn() this.setInt 阅读全文
摘要:
js拖拽 方式一:drag、drop <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="vi 阅读全文