Export (0) Print
Expand All

getPropertyPriority method

Gets the priority of a Cascading Style Sheets (CSS) property if the priority is explicitly set in the current declaration block.

Document Object Model (DOM) Level 2 Style Specification, Section 2.2Internet Explorer 9

 

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:
© 2014 Microsoft