浏览代码

improved docstring

Rodja Trappe 2 年之前
父节点
当前提交
0bbc81a544
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      examples/lightbox/main.py

+ 1 - 2
examples/lightbox/main.py

@@ -7,8 +7,7 @@ from nicegui import events, ui
 
 
 
 
 class Lightbox:
 class Lightbox:
-    """A lightbox is a dialog which can be opened to display an image in full screen.
-
+    """A thumbnail gallery where each image can be clicked to enlarge.
     Inspired by https://lokeshdhakar.com/projects/lightbox2/.
     Inspired by https://lokeshdhakar.com/projects/lightbox2/.
     """
     """