diff --git a/HISTORY.md b/HISTORY.md index d5dea88e..71d32b62 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -14,6 +14,7 @@ http://visjs.org - Added shapeProperties, thanks @zukomgwili! - Fixed missing edges during clustering. - Fixed missing refresh of node data when changing hierarchical layout on the fly. +- Added configChange event. ### Graph3d diff --git a/dist/vis.js b/dist/vis.js index 24423558..227d3258 100644 --- a/dist/vis.js +++ b/dist/vis.js @@ -21696,6 +21696,11 @@ return /******/ (function(modules) { // webpackBootstrap */ value: function _update(value, path) { var options = this._constructOptions(value, path); + + if (this.parent.body && this.parent.body.emitter && this.parent.body.emitter.emit) { + this.parent.body.emitter.emit('configChange', options); + } + this.parent.setOptions(options); } }, { diff --git a/docs/network/index.html b/docs/network/index.html index 7bd6be34..5be32950 100644 --- a/docs/network/index.html +++ b/docs/network/index.html @@ -1398,6 +1398,17 @@ var options = {