login class
A control that lets users enter their username and password.
Methods¶
__init__() ¶
__init__(
title="Log in",
on_action=None,
message=None,
id=None,
properties=None,
class_name=None,
hover_text=None,
) -> None
Create a new login element.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title
|
str
|
The title of the login dialog. |
Log in
|
on_action
|
Union[str, Callable]
|
A function or the name of a function that is triggered when the dialog button is pressed.
When the button is pressed, and if this property is not set, Taipy will try to find a callback function called on_login() and invoke it with the parameters listed above. |
None
|
message
|
dynamic(str)
|
The message shown in the dialog. |
None
|
id
|
str
|
The identifier assigned to the rendered HTML component. |
None
|
properties
|
dict[str, Any]
|
A dictionary of additional properties that can be set to the element. |
None
|
class_name
|
dynamic(str)
|
A space-separated list of CSS class names to be applied to the generated HTML element. |
None
|
hover_text
|
dynamic(str)
|
The text that is displayed when the user hovers over the element. |
None
|