sourceCrossOrigin property
Gets or sets a function that returns a value for image.crossOrigin.
The default value is null, which will not set a value for image.crossOrigin. Set this property to a function that returns "anonymous" or "use-credentials" if you want images to complete a cross-origin request. Example:
$(go.Picture,
{ width: 64, height: 64 },
{ sourceCrossOrigin: pict => "use-credentials" },
new go.Binding("source", "path"))
Implementation
_i2.String Function(_i3.Picture)? get sourceCrossOrigin =>
(_i3.Picture p0) => _i4.callMethod(
_i4.getProperty(
this,
'sourceCrossOrigin',
),
r'call',
[
this,
p0,
],
);