ComputedStyle
Overview
ComputedStyle is a class in Aspose.Html FOSS for Python.
Immutable layout-facing snapshot of an element’s resolved style.
This class provides 2 methods for working with ComputedStyle objects in Python programs.
Available methods include: __init__, get.
All public members are accessible to any Python application after installing the Aspose.Html FOSS for Python package.
Properties: epoch.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
epoch | int | Read | The Document._style_epoch this snapshot was produced at. |
Methods
| Signature | Description |
|---|---|
__init__(decl: "ComputedStyleDeclaration", epoch: int) | Calls init(decl, epoch) on this ComputedStyle instance. |
get(name: str) → str | Return the resolved value of name, or '' when absent. |