Skip to content

Commit

Permalink
Minor fixes (#825)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabien Lelaquais <[email protected]>
  • Loading branch information
FabienLelaquais and Fabien Lelaquais authored Feb 12, 2024
1 parent 7f9ff08 commit 6e521a2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions taipy/gui/viselements.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,8 @@
"doc": "Allows dynamic config refresh if set to True."
},
{
"name": "dynamic(figure)",
"type": "plotly.graph_objects.Figure",
"name": "figure",
"type": "dynamic(plotly.graph_objects.Figure)",
"doc": "A figure as produced by plotly."
}
]
Expand Down Expand Up @@ -768,14 +768,13 @@
"name": "title",
"default_property": true,
"type": "str",
"default_value": "Log in",
"default_value": "\"Log in\"",
"doc": "The title of the login dialog."
},
{
"name": "on_action",
"type": "Callback",
"default_value": "on_login",
"doc": "The name of the function that is triggered when the dialog's button is pressed.<br/><br/>All the parameters of that function are optional:\n<ul>\n<li>state (<code>State^</code>): the state instance.</li>\n<li>id (str): the identifier of the button.</li>\n<li>payload (dict): the details on this callback's invocation.<br/>\nThis dictionary has the following keys:\n<ul>\n<li>action: the name of the action that triggered this callback.</li>\n<li>args: a list with three elements:<ul><li>The first element is the user name</li><li>The second element is the password</li><li>The third element is the current page name</li></ul></li></li>\n</ul>\n</li>\n</ul>",
"doc": "The name of the function that is triggered when the dialog button is pressed.<br/><br/>All the parameters of that function are optional:\n<ul>\n<li>state (<code>State^</code>): the state instance.</li>\n<li>id (str): the identifier of the button.</li>\n<li>payload (dict): the details on this callback's invocation.<br/>\nThis dictionary has the following keys:\n<ul>\n<li>action: the name of the action that triggered this callback.</li>\n<li>args: a list with three elements:<ul><li>The first element is the username</li><li>The second element is the password</li><li>The third element is the current page name</li></ul></li></li>\n</ul>\n</li>\n</ul><br/>When the button is pressed, and if this property is not set, Taipy will try to find a callback function called <i>on_login()</i> and invoke it with the parameters listed above.",
"signature": [["state", "State"], ["id", "str"], ["payload", "dict"]]
},
{
Expand Down

0 comments on commit 6e521a2

Please sign in to comment.