加载1秒后运行功能

时间:2015-07-16 08:51:47

标签: javascript jquery

我使用jQuery的load()加载多个图片。

// ES2015 - class
class obj {
  constructor(name, lname) {
    this.name = name;
    this.lname = lname;
  }

  // Define getter method for fullName
  get fullName() {
    return this.name + " " + this.lastName;
  }
}

var aObj = new obj('Billy', 'Hallow');
console.log(aObj.fullName);

完成上述所有操作后,如何进行setInterval加载?所以基本上我需要在加载所有图像后1秒钟后发出instring = '1428-32'; stub = instring; digits = 0; while ~strcmp(stub(end),'-') stub = stub(1:end-1); digits = digits + 1; end stub = stub(1:end-1); %stub is now your starting number, but as a string maxval = instring(end-(digits-1):end); maxval = strcat(stub(1:end-digits),maxval); outlist = str2double(stub):str2double(maxval);

getApplicationContext()

0 个答案:

没有答案