getCounterValue
(method
)
Owning interface and usage:
CSSPrimitiveValue.
getCounterValue()
Member of these other interfaces:
none
Description:
This method is used to get the Counter value. If this CSS value doesn't contain a counter value, a DOMException is raised. Modification to the corresponding style property can be achieved using the Counter interface.
Parameters:
none
Returns:
Counter -
The Counter value.
Exceptions:
- DOMException INVALID_ACCESS_ERR
-
Raised if the CSS value doesn't contain a Counter value (e.g. this is not CSS_COUNTER).