![](/img/trans.png)
[英]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.