---
title: "Comment by Ashwin on \"All about Shadow DOM\" | Hashnode"
description: "Hi utkarsh, any ideas what would happen keeping the {mode:&quot;closed&quot;}. Just wanting to know the use case"
url: "https://hashnode.com/posts/all-about-shadow-dom/63a2f80f5ca75f0fe374d18e/comment/63de4a6a16b1848f67529dc0"
---

[Discussion](https://hashnode.com/posts/all-about-shadow-dom/63a2f80f5ca75f0fe374d18e)

Comment [All about Shadow DOM](https://hashnode.com/posts/all-about-shadow-dom/63a2f80f5ca75f0fe374d18e)

[Ashwin](https://hashnode.com/@ashwinyes)

[Feb 4, 2023](https://hashnode.com/posts/all-about-shadow-dom/63a2f80f5ca75f0fe374d18e/comment/63de4a6a16b1848f67529dc0)

Hi utkarsh, any ideas what would happen keeping the {mode:"closed"}. Just wanting to know the use case

[Utkarsh Dixit](https://hashnode.com/@yudee)

[Feb 4, 2023](https://hashnode.com/posts/all-about-shadow-dom/63a2f80f5ca75f0fe374d18e/comment/63de4a6a16b1848f67529dc0#reply-63de51dd16b1848f67529f5a)

Hey Ashwin, If we do {mode:"closed"} no CSS or JavaScript from the outside of the shadow DOM will have any effect on its content.
