DekGenius.com
Team LiB   Previous Section   Next Section
CSSStyleDeclaration.getPropertyPriority( ) get the priority of a CSS attribute

Availability

DOM Level 2 CSS

Synopsis

String getPropertyPriority(String propertyName);

Arguments

propertyName

The name of the CSS attribute.

Returns

The string "important" if the named CSS attribute is explicitly specified in this declaration block and has the !important priority modifier. Returns the empty string otherwise.

    Team LiB   Previous Section   Next Section