Add container operations documentation to TextInput

This commit is contained in:
NextChai 2022-04-30 03:58:11 -04:00 committed by GitHub
parent d437f494db
commit e7ce8b6b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,12 @@ V = TypeVar('V', bound='View', covariant=True)
class TextInput(Item[V]):
"""Represents a UI text input.
.. container:: operations
.. describe:: str(x)
Returns the value of the text input or an empty string if the value is ``None``.
.. versionadded:: 2.0
Parameters