toggle_attribute method
Contents
[
Hide
]toggle_attribute
If force is not given, “toggles” qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns
Returns true if qualifiedName is now present; otherwise false.
def toggle_attribute(self, qualified_name):
...
Parameter | Type | Description |
---|---|---|
qualified_name | str | The attribute QualifiedName. |
toggle_attribute
If force is not given, “toggles” qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns
Returns true if qualifiedName is now present; otherwise false.
def toggle_attribute(self, qualified_name, force):
...
Parameter | Type | Description |
---|---|---|
qualified_name | str | The attribute QualifiedName. |
force | bool | The force option to toggle attribute. |
See Also
- module
aspose.html
- class
HTMLAnchorElement