Shell + page loading
And: - some basic stylesheet i found for basic html elements - a global lua method for navigating pages
This commit is contained in:
1 parent
4e0219924d
commit
7c6e3a0d89
16 files changed
+759
-147
No files matched your search
@@ -0,0 +1,4 @@
|
||||
<div id="page-root" class="page">
|
||||
<h1>About</h1>
|
||||
<p>This is a static page</p>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
<div id="page-root">
|
||||
<h1>Lua test page</h1>
|
||||
<p>This button uses <code>NavigateTo('about')</code> lua code instead of a registered C++ event</p>
|
||||
<button onclick="NavigateTo('about')">Go to About Page</button>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
<div id="page-root" data-model="testPage" class="page">
|
||||
<h1>Test page</h1>
|
||||
<p>{{greeting}}</p>
|
||||
<button id="test-btn">Button clicked: {{counter}} times</button>
|
||||
</div>
|
||||
Reference in new issue
Block a user