File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1
1
# LTK - Copyrights Reserved 2023 - chrislaffra.com - See LICENSE
2
2
3
3
from examples import custom
4
+ from examples import helloworld
4
5
from examples import table
5
6
from examples import tictactoe
6
7
7
8
elements = [
9
+ helloworld .create (),
8
10
tictactoe .create (),
9
11
table .create (),
10
12
custom .create (),
Original file line number Diff line number Diff line change
1
+ # LTK - Copyrights Reserved 2023 - chrislaffra.com - See LICENSE
2
+
3
+ import ltk
4
+
5
+ hello = ltk .Text ("Hello World" )
6
+
7
+ def create ():
8
+ return hello .attr ("name" , "Hello World" )
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ <h1>The PyScript LTK Kitchen Sink</h1>
29
29
"ltk/ltk.js",
30
30
"ltk/ltk.css",
31
31
"examples/__init__.py",
32
+ "examples/helloworld.py",
32
33
"examples/tictactoe.py",
33
34
"examples/tictactoe.css",
34
35
"examples/custom.py",
You can’t perform that action at this time.
0 commit comments