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 11# LTK - Copyrights Reserved 2023 - chrislaffra.com - See LICENSE
22
33from examples import custom
4+ from examples import helloworld
45from examples import table
56from examples import tictactoe
67
78elements = [
9+ helloworld .create (),
810 tictactoe .create (),
911 table .create (),
1012 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>
2929 "ltk/ltk.js",
3030 "ltk/ltk.css",
3131 "examples/__init__.py",
32+ "examples/helloworld.py",
3233 "examples/tictactoe.py",
3334 "examples/tictactoe.css",
3435 "examples/custom.py",
You can’t perform that action at this time.
0 commit comments