Update docstring for visible (#2211)

As per the confusion in #2208
This commit is contained in:
Rodrigo Girão Serrão
2023-04-04 09:38:36 +01:00
committed by GitHub
parent 4b23539bee
commit 34b926ed3b

View File

@@ -522,7 +522,7 @@ class DOMNode(MessagePump):
@property @property
def visible(self) -> bool: def visible(self) -> bool:
"""Is the DOM node visible?""" """Is the visibility style set to a visible state?"""
return self.styles.visibility != "hidden" return self.styles.visibility != "hidden"
@visible.setter @visible.setter