AbstractRange.collapsed
AbstractRange
의 범위가 축소된 read-only 속성은 범위의 시작 위치와 끝 위치가 같을 경우 true를 반환합니다.
문법
var isCollpased = range.collapsed
Value
범위가 축소된 경우 true인 Boolean
값을 반환합니다. 축소된 범위는 시작 위치와 종료 위치가 동일하며, 문자 길이가 0인 범위입니다.
명세
명시 | 상태 | 설명 |
---|---|---|
DOM The definition of 'collapsed' in that specification. |
Living Standard | |
Static Range The definition of 'collapsed' in that specification. |
Editor's Draft | Initial definition. |
브라우저 호환성
BCD tables only load in the browser
이 페이지의 호환성 표는 구조화된 데이터에서 생성됩니다. 데이터에 기여하고 싶다면, https://github.com/mdn/browser-compat-data 를 checkout 하고 pull request를 보내주십시오.