제이쿼리모바일 Checkboxradio Field containers & Legends 필드 컨테이너 및 범례 정보
jQuery Mobile 제이쿼리모바일 Checkboxradio Field containers & Legends 필드 컨테이너 및 범례본문
제이쿼리모바일 Checkboxradio Field containers & Legends 필드 컨테이너 및 범례
필요에 따라 클래스 ui-field-contain가 있는 컨테이너에
체크 상자를 래핑하여 더 긴 형식으로 시각적으로 그룹화 할 수 있습니다.
참고 : 이 data-속성 data-role="fieldcontain"은
jQuery Mobile 1.4.0에서 사용되지 않으며 1.5.0에서 제거됩니다.
클래스를 ui-field-contain대신 추가하십시오 .
label확인란은 확인란 양식 요소 옆에 표시된 텍스트 에 요소를 사용하기 때문에 질문의 제목 역할 을하는 fieldset요소가 있는
확인란을 선택하는 것이 legend좋습니다.
텍스트 입력, 선택 또는 기타 양식 요소로 병렬 방식으로 스타일을 지정할 수
있도록 data-role="controlgroup"속성을 추가하십시오 fieldset.
<div class="ui-field-contain">
<fieldset data-role="controlgroup">
<legend>Agree to the terms:</legend>
<input type="checkbox" name="checkbox-2" id="checkbox-2" class="custom">
<label for="checkbox-2">I agree</label>
</fieldset>
</div>
필요에 따라 클래스 ui-field-contain가 있는 컨테이너에
체크 상자를 래핑하여 더 긴 형식으로 시각적으로 그룹화 할 수 있습니다.
참고 : 이 data-속성 data-role="fieldcontain"은
jQuery Mobile 1.4.0에서 사용되지 않으며 1.5.0에서 제거됩니다.
클래스를 ui-field-contain대신 추가하십시오 .
label확인란은 확인란 양식 요소 옆에 표시된 텍스트 에 요소를 사용하기 때문에 질문의 제목 역할 을하는 fieldset요소가 있는
확인란을 선택하는 것이 legend좋습니다.
텍스트 입력, 선택 또는 기타 양식 요소로 병렬 방식으로 스타일을 지정할 수
있도록 data-role="controlgroup"속성을 추가하십시오 fieldset.
<div class="ui-field-contain">
<fieldset data-role="controlgroup">
<legend>Agree to the terms:</legend>
<input type="checkbox" name="checkbox-2" id="checkbox-2" class="custom">
<label for="checkbox-2">I agree</label>
</fieldset>
</div>
추천
0
0
댓글 0개