JavaScript CSSStyleDeclaration getPropertyPriority() Method
JavaScript CSSStyleDeclaration getPropertyPriority() Method
The getPropertyPriority() method is used to return if the specified CSS property has the important! priority set or not. If the important qualifier is set, then it will return important else it will return empty string.
Syntax:-
Its syntax is:- object.getPropertyPriority(propertyname)
Further Explanation:-
Parameter | Description |
---|---|
propertyname | Required. A String representing the name of the property to check |