getPropertyPriority method
Gets the priority of a Cascading Style Sheets (CSS) property if the priority is explicitly set in the current declaration block.
![]() ![]() |
Syntax
object.getPropertyPriority(bstrPropertyName)Parameters
- bstrPropertyName [in]
-
Type: String
The name of the CSS property.
Return value
Type: String
A string that represents the priority if the property is explicitly set in this declaration block and has a specified priority specified, or null.
Standards information
Remarks
The priority of a CSS property is designated by, for example, the !important declaration.
See also
- CSSStyleDeclaration
- currentStyle
- style
- Reference
- getPropertyValue
- item
- length
- removeProperty
- setProperty
Show:

