Преглед на файлове

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/>