mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-25 01:04:14 -05:00
feat(nucleus): call onInitialRender if defined
This commit is contained in:
@@ -112,7 +112,9 @@ class Supernova extends React.Component {
|
||||
this.initial.mount = () => {};
|
||||
},
|
||||
rendered: () => {
|
||||
// this.props.prom();
|
||||
if (this.props.snOptions && typeof this.props.snOptions.onInitialRender === 'function') {
|
||||
this.props.snOptions.onInitialRender.call(null);
|
||||
}
|
||||
this.initial.rendered = () => {};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user