crossOrigin

abstract var crossOrigin: dynamic

Whether the crossOrigin attribute will be added to the image. If a String is provided, the image will have its crossOrigin attribute set to the String provided. This is needed if you want to access image pixel data.

Refer to CORS Settings for valid String values.