Search code examples
javascriptvendor-prefix

Javascript Vendor Prefix


I would just like to know if there is a vendor prefix requirement for the Javascript code that I have written.Below is the code:

var imageZoom = {
     harvester: function(){
         var element = document.getElementById("image_container");
         element.onmouseover = imageZoom.zoomerFunction;
         element.onmouseout = imageZoom.zoomerRevert;
     },

     zoomerFunction: function(){
         var image = document.getElementById("picture");
         image.style.transform = "scale(1.5)";
     },

     zoomerRevert: function(){
         var image = document.getElementById("picture");
         image.style.transform = "scale(1.0)";                                                                                                                  
  }
};

Are there vendor prefixes for the image.style.transform? What would they be please? Looking forward to your kind support and thanks in advance.


Solution

  • image.style.webkitTransform = "scale(1.5)"