| Article | 70001121 |
| Type | HowTo |
| Product | WebJS |
| Date Added | 7/7/2017 12:00:00 AM |
| Fixed | 7.7012.0.3 (7/7/2017 12:00:00 AM) |
| Submitted by | Development Contractor |
Summary
I would like a callback that called when an External Reference file is loaded
Solution
In version 7012.0.3 a new callback vdXrefLoaded of vdcanvas control was added
It is called when an External Reference Block is completly loaded.
Example:
vdcanvas.vdXrefLoaded = _vdXrefLoaded;
function _vdXrefLoaded(xrefargs) {
console.log('The External reference block with name ' + xrefargs.Block.Name + ' and full path = ' + xrefargs.OriginalPath + ' loaded');
}
