JavaScript
HTML
CSS
SVG
Linux Server
Development
api
Native
settings_applications
Window
api
Host
api
DOM
api
CSSOM
CSSStyleValue
CSSStyleDeclaration
LinkStyle
StyleSheet
Data structure
api
WEB APIs
article
Grammar
article
Algorithm
article
Documents
manage_search
Index
search
검색
CSSOM
settings_applications
StyleSheet
CSSOM
settings_applications
CSSStyleValue
folder
Inherit
settings_applications
CSSImageValue
build
Constructor
memory
[[Prototype]]
settings_applications
CSSStyleDeclaration
build
Constructor
settings
CSSStyleDeclaration()
memory
[[Prototype]]
folder
Properties
work_outline
cssText
work_outline
length
work_outline
parentRule
folder
Methods
settings
getPropertyPriority()
settings
getPropertyValue()
settings
item()
settings_applications
LinkStyle
folder
Properties
work_outline
sheet
settings_applications
StyleSheet
build
Constructor
memory
[[Prototype]]
folder
Properties
work_outline
disabled
folder
Inherited
settings_applications
CSSStyleSheet
build
Constructor
memory
[[Prototype]]
folder
Properties
work_outline
cssRules
work_outline
ownerRule
folder
Methods
settings
deleteRule()
settings
insertRule()
folder
Data structure
settings_applications
CSSRuleList
settings_applications
StylePropertyMapReadOnly
folder
Inherit
settings_applications
StylePropertyMap
Draft
account_tree
bug_report
Interface
CSSStyleSheet
설명
스타일시트에 포함된 규칙 목록을 검사하고 수정할 수 있도록 해주는 CSSSRule 객체 컬렉션으로 구성된 객체이다.
하위 트리 탐색
Constructor
[[Prototype]]
Methods
deleteRule()
지정된 인덱스를 갖는 스타일시트 규칙을 제거한다.
insertRule()
인수로 지정된 규칙을 갖는 문자열을 스타일 시트의 지정된 위치에 새로 삽입한다.
Properties
cssRules
스타일 시트를 구성하는 CSSRule 객체의 최신 목록을 유지하는 라이브 CSSRuleList를 참조한다.
ownerRule
스타일 시트를 @import 룰을 사용하여 문서로 가져오는 경우 해당 CSSImportRule을 참조한다.
상속 계층 탐색
StyleSheet
Properties
disabled
현재 스타일 시트가 적용 되었는지 여부를 나타내는 Boolean 값을 조회한다.
Object
Methods
hasOwnProperty()
객체가 특정 프로퍼티를 가지고 있는지를 블린 값으로 반환한다.
isPrototypeOf()
해당 객체가 다른 객체의 프로토타입 체인에 속한 객체인지를 체크한다. 이 메소드는 instanceof 연산자와 함께 특정 프로토타입으로부터 상속된 객체만 작동하게 하려는(예를 들어 특정 메소드나 속성이 객체에 있다는걸 보장하려는 때) 코드에서 특히 쓸모가 많다.
propertyIsEnumerable()
매개 변수의 속성이 열거가능한지 여부를 체크한다.
toLocaleString()
객체를 나타내는 문자열을 사용 지역의 방식으로 출력이 된다. 이 메소드는 상속받은 모든 객체가 사용할 수 없고 아래와 같은 상속된 객체에 사용이 된다. Array.prototype.toLocaleString() Number.prototype.toLocaleString() Date.prototype.toLocaleString()
toString()
객체를 나타내는 문자열을 반환한다.
valueOf()
객체의 Primitive(원시) 값을 반환한다.
Properties
constructor
객체의 생성자 함수를 참조한다.
__proto__
상속된 [[Prototype]] 참조하거나 설정가능하며 일반적으로 실제 코드상에서는 잘 사용되지 않는다. ECMAScript에서 사용되지 않는 비표준이지만 최신 웹브라우저에서는 비공식적으로 지원하고 있다. 따라서 곧 표준 속성으로 지원될 확률이 높다.
지원 웹브라우저