[英]Check if a element is logically a child of another element in shadow-dom
[英]How to access the nested shadow-dom Ionic angular using native element
我认为您无法编辑该属性,因为在ion-background的官方文档中没有自定义的css可以覆盖影子dom中的标准值。 明确的意图是,不能轻易覆盖这些值。
但是文档还说: Backdrops are full screen components that overlay other components.
因此,如果将Backdrop嵌套在另一个适合您需求的组件中,您可能会达到目标? 希望能有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.