0
나는 나의 HTML 페이지에이 요소를 가지고 :Typescript의 HTML에서이 값을 얻으려면 어떻게해야합니까?
<div class="section-title" id="bladeSectionTitle"
ng-transclude="title">
</div>
내가 값이 표시 얻을 싶어요. ,이 경우
<dpn-blade-section is-checkbox-visible="true" is-checked="$component.showAll">
<section-title>
<h4>Show All</h4>
</section-title>
내가 찾고 될 값을 :
var title = document.getElementById("bladeSectionTitle").getAttribute('section-title');
뷰 소스가 저에게이 있습니다 :
는 난 단지 널 (null)이 얻을 내 타이프 라이터 페이지 &에 다음을 시도 '모두보기'입니다.