浏览代码

uppercase/lowercase

Falko Schindler 3 年之前
父节点
当前提交
7b0cf877ad
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      main.py
  2. 1 1
      nicegui/elements/image.py
  3. 1 1
      nicegui/elements/interactive_image.py
  4. 1 1
      nicegui/elements/open.py

+ 1 - 1
main.py

@@ -447,7 +447,7 @@ sessions = """### Sessions
 `ui.page` provides an optional `on_connect` argument to register a callback.
 It is invoked for each new connection to the page.
 
-The optional `request` argument provides insights about the clients url parameters etc. (see [the JustPy docs](https://justpy.io/tutorial/request_object/) for more details).
+The optional `request` argument provides insights about the clients URL parameters etc. (see [the JustPy docs](https://justpy.io/tutorial/request_object/) for more details).
 It also enables you to identify sessions over [longer time spans by configuring cookies](https://justpy.io/tutorial/sessions/).
 """
 with example(sessions):

+ 1 - 1
nicegui/elements/image.py

@@ -13,7 +13,7 @@ class Image(Group):
 
         Displays an image.
 
-        :param source: the source of the image; can be an url or a base64 string
+        :param source: the source of the image; can be an URL or a base64 string
         """
         view = jp.QImg(src=source)
         super().__init__(view)

+ 1 - 1
nicegui/elements/interactive_image.py

@@ -22,7 +22,7 @@ class InteractiveImage(Element):
 
         Create an image with an SVG overlay that handles mouse events and yields image coordinates.
 
-        :param source: the source of the image; can be an url or a base64 string
+        :param source: the source of the image; can be an URL or a base64 string
         :param on_mouse: callback for mouse events (yields `type`, `image_x` and `image_y`)
         :param events: list of JavaScript events to subscribe to (default: `['click']`)
         :param cross: whether to show crosshairs (default: `False`)

+ 1 - 1
nicegui/elements/open.py

@@ -8,7 +8,7 @@ def open(self, path: str, socket: WebSocket):
 
     Can be used to programmatically trigger redirects for a specific client.
 
-    :param path: string that is a relative url path or an absolute url
+    :param path: string that is a relative URL path or an absolute URL
     :param socket: WebSocket defining the target client
     """
     create_task(open_async(self, path, socket))