Falko Schindler 2 سال پیش
والد
کامیت
bb9f99ad0d

+ 1 - 1
nicegui/elements/checkbox.py

@@ -11,7 +11,7 @@ class Checkbox(BoolElement):
         """Checkbox Element
 
         :param text: the label to display next to the checkbox
-        :param value: whether it should be checked initally (default: `False`)
+        :param value: whether it should be checked initially (default: `False`)
         :param on_change: callback to execute when value changes
         """
         view = jp.QCheckbox(text=text, input=self.handle_change, temp=False)

+ 1 - 1
nicegui/elements/number.py

@@ -14,7 +14,7 @@ class Number(FloatElement):
 
         :param label: displayed name for the number input
         :param placeholder: text to show if no value is entered
-        :param value: the inital value of the field
+        :param value: the initial value of the field
         :param format: a string like '%.2f' to format the displayed value
         :param on_change: callback to execute when the input is confirmed by leaving the focus
         """

+ 1 - 1
nicegui/elements/radio.py

@@ -11,7 +11,7 @@ class Radio(ChoiceElement):
         """Radio Selection Element
 
         :param options: a list ['value1', ...] or dictionary `{'value1':'label1', ...}` specifying the options
-        :param value: the inital value
+        :param value: the initial value
         :param on_change: callback to execute when selection changes
         """
         view = jp.QOptionGroup(options=options, input=self.handle_change, temp=False)

+ 1 - 1
nicegui/elements/select.py

@@ -12,7 +12,7 @@ class Select(ChoiceElement):
         """Dropdown Selection Element
 
         :param options: a list ['value1', ...] or dictionary `{'value1':'label1', ...}` specifying the options
-        :param value: the inital value
+        :param value: the initial value
         :param on_change: callback to execute when selection changes
         """
         view = jp.QSelect(options=options, label=label, input=self.handle_change, temp=False)

+ 1 - 1
nicegui/elements/slider.py

@@ -18,7 +18,7 @@ class Slider(FloatElement):
         :param min: lower bound of the slider
         :param max: upper bound of the slider
         :param step: step size
-        :param value: inital value to set position of the slider
+        :param value: initial value to set position of the slider
         :param on_change: callback which is invoked when the user releases the slider
         """
         view = jp.QSlider(min=min, max=max, step=step, change=self.handle_change, temp=False)

+ 1 - 1
nicegui/elements/switch.py

@@ -11,7 +11,7 @@ class Switch(BoolElement):
         """Switch Element
 
         :param text: the label to display next to the switch
-        :param value: whether it should be active initally (default: `False`)
+        :param value: whether it should be active initially (default: `False`)
         :param on_click: callback which is invoked when state is changed by the user
         """
         view = jp.QToggle(text=text, input=self.handle_change, temp=False)

+ 1 - 1
nicegui/elements/toggle.py

@@ -11,7 +11,7 @@ class Toggle(ChoiceElement):
         """Toggle Element
 
         :param options: a list ['value1', ...] or dictionary `{'value1':'label1', ...}` specifying the options
-        :param value: the inital value
+        :param value: the initial value
         :param on_change: callback to execute when selection changes
         """
         view = jp.QBtnToggle(input=self.handle_change, temp=False)