Browse Source

Merge pull request #1820 from Avaiga/docs/#1819-docs-updating-docs-on-element-definition

gui.extension.Element doc fixed
Nam Nguyen 7 months ago
parent
commit
fbc23d2e26
1 changed files with 2 additions and 2 deletions
  1. 2 2
      taipy/gui/extension/library.py

+ 2 - 2
taipy/gui/extension/library.py

@@ -112,8 +112,8 @@ class Element:
         *react_component* is ignored.
 
         Arguments:
-            default_property (str): the name of the default property for this element.
-            properties (List[ElementProperty]): The list of properties for this element.
+            default_property (str): The name of the default property for this element.
+            properties (Dict[str, ElementProperty]): The dictionary containing the properties of this element, where the keys are the property names and the values are instances of ElementProperty.
             inner_properties (Optional[List[ElementProperty]]): The optional list of inner properties for this element.<br/>
                 Default values are set/binded automatically.
             react_component (Optional[str]): The name of the component to be created on the front-end.<br/>