aMaterialComponent.js 257 B

123456789101112131415161718
  1. this.updateSrc = function(srcID){
  2. if (srcID) {
  3. this.src = "";
  4. this.src = srcID;
  5. }
  6. }
  7. this.refreshSrc = function(){
  8. let mySrcID = this.src;
  9. if (mySrcID) {
  10. this.src = "";
  11. this.src = mySrcID;
  12. }
  13. }