copyLinkDataFunction property
Object Function(Object, GraphLinksModel)?
get
copyLinkDataFunction
Gets or sets a function that makes a copy of a link data object.
You may need to set this property in order to ensure that a copied Link is bound to data that does not share certain data structures between the original link data and the copied link data. This property value may be null in order to cause #copyLinkData to make a shallow copy of a JavaScript Object. The default value is null.
Implementation
_i2.Object Function(
_i2.Object,
_i3.GraphLinksModel,
)? get copyLinkDataFunction => (
_i2.Object p0,
_i3.GraphLinksModel p1,
) =>
_i4.callMethod(
_i4.getProperty(
this,
'copyLinkDataFunction',
),
r'call',
[
this,
p0,
p1,
],
);
set
copyLinkDataFunction
(Object value(Object, GraphLinksModel)?)
Implementation
set copyLinkDataFunction(
_i2.Object Function(
_i2.Object,
_i3.GraphLinksModel,
)? value) {
_i4.setProperty(
this,
'copyLinkDataFunction',
value == null ? _i5.undefined : _i4.allowInterop(value),
);
}