ソースを参照

Adding key - value to properties in Element definition

namnguyen 7 ヶ月 前
コミット
6d3693aacf
1 ファイル変更2 行追加2 行削除
  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 (Dict[ElementProperty]): The dictionary of properties for this element.
+            default_property (str): The name of the default property for this element.
+            properties (Dict[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/>