| CSS::DOM::Value::List(3pm) | User Contributed Perl Documentation | CSS::DOM::Value::List(3pm) |
CSS::DOM::Value::List - CSSValueList class for CSS::DOM
Version 0.17
# ...
This module implements objects that represent CSS list property values. It implements the DOM CSSValueList interface.
You can access the individual elements of the list using the "item" and "length" methods, or by using it as an array ref.
If you need the constructor, it's below the object methods. Normally you would get an object via CSS::DOM::Style's "getPropertyCSSValue" method.
You probably don't need to call this, but here it is anyway:
$val = new CSS::DOM::Value::List:: %args;
The hash-style arguments are as follows. Only "values" is required.
[
[type => CSS_PX, value => 20],
[type => CSS_PERCENTAGE, value => 50],
[type => CSS_PERCENTAGE, value => 50],
[type => CSS_PX, value => 50],
]
CSS::DOM
CSS::DOM::Value
CSS::DOM::Value::Primitive
CSS::DOM::Style
| 2023-08-02 | perl v5.36.0 |