I’m trying to override copyPortProperties but I get an error
copyPortProperties is protected and only accessible through and instance error
How to use copyPortProperties ?
class TestTool extends go.LinkingBaseTool {
// new data properties (fields) get declared and initialized here
constructor() {
super();
}
public copyPortProperties() {
go.LinkingBaseTool.prototype.copyPortProperties.call(this);
}
}
TestTool .prototype.copyPortProperties();