Skip to content

Commit

Permalink
change ShadowRootMode in example to open
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldSEnder committed Mar 22, 2022
1 parent 865c730 commit df3b8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/portals/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl Component for ShadowDOMHost {
.get()
.expect("rendered host")
.unchecked_into::<Element>()
.attach_shadow(&ShadowRootInit::new(ShadowRootMode::Closed))
.attach_shadow(&ShadowRootInit::new(ShadowRootMode::Open))
.expect("installing shadow root succeeds");
let inner_host = gloo_utils::document()
.create_element("div")
Expand Down

0 comments on commit df3b8e0

Please sign in to comment.