중첩 된 구성 요소를 조회하려면 다음 나는 세 번째 구성 요소를 선택 쿼리 어떻게폴리머 - 어떻게 구성 요소가 같은 중첩 된
<first-component>
<second-component>
<third-component></third-component>
</second-component>
</first-component>
를?
Chrome에서 document.querySelector ('third-component')는 작동하지만 Firefox에서는 작동하지 않습니다. 당신이 폴리머의 정의에있는 경우
감사들 :
Firefox에서 정확히 어떻게됩니까? –
Firefox에서 중첩 된 구성 요소를 쿼리하려고하면 null이라는 콘솔 오류가 있습니다. 찾을 수 없기 때문에 생각합니다. – Richard