Skip to content

Commit

Permalink
Added the props object to the domElementGetter function call. (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefrua authored May 12, 2020
1 parent 931d108 commit 109eee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/single-spa-angularjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function unmount(opts, mountedInstances, props = {}) {
function getContainerEl(opts, props) {
let element;
if (opts.domElementGetter) {
element = opts.domElementGetter();
element = opts.domElementGetter(props);
} else {
const htmlId = `single-spa-application:${props.name || props.appName}`;
element = document.getElementById(htmlId);
Expand Down

0 comments on commit 109eee0

Please sign in to comment.