diff --git a/v2/test/kitchensink/frontend/src/App.svelte b/v2/test/kitchensink/frontend/src/App.svelte index 866ac69ae..716ed00bf 100644 --- a/v2/test/kitchensink/frontend/src/App.svelte +++ b/v2/test/kitchensink/frontend/src/App.svelte @@ -173,4 +173,14 @@ user-select: initial; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */ } + + .list { + margin-top: 2rem; + margin-left: 2rem; + } + + .list li { + margin-bottom: 0.5rem; + } + diff --git a/v2/test/kitchensink/frontend/src/MainPage.svelte b/v2/test/kitchensink/frontend/src/MainPage.svelte index 53807fbbf..66f494f2f 100644 --- a/v2/test/kitchensink/frontend/src/MainPage.svelte +++ b/v2/test/kitchensink/frontend/src/MainPage.svelte @@ -3,7 +3,7 @@ import {selectedPage} from './Store'; import TitlePage from './pages/TitlePage.svelte'; import Logging from './pages/logging/Logging.svelte'; - import Events from './pages/Events.svelte'; + import Events from './pages/events/Events.svelte'; diff --git a/v2/test/kitchensink/frontend/src/components/CodeBlock.svelte b/v2/test/kitchensink/frontend/src/components/CodeBlock.svelte index 9465f1c54..2935711c3 100644 --- a/v2/test/kitchensink/frontend/src/components/CodeBlock.svelte +++ b/v2/test/kitchensink/frontend/src/components/CodeBlock.svelte @@ -154,7 +154,7 @@ border-top: 1px solid #5555; margin-top: 10px; padding-top: 5px; - /* margin-bottom: 15px; */ + width: 100%; } \ No newline at end of file diff --git a/v2/test/kitchensink/frontend/src/pages/Events.svelte b/v2/test/kitchensink/frontend/src/pages/Events.svelte deleted file mode 100644 index f7ccdf9d0..000000000 --- a/v2/test/kitchensink/frontend/src/pages/Events.svelte +++ /dev/null @@ -1,26 +0,0 @@ - - -
-

Events

- - Wails includes a unified events system which allows you to do the following in either Go or Javascript: - - - - -
- - \ No newline at end of file diff --git a/v2/test/kitchensink/frontend/src/pages/events/Events.svelte b/v2/test/kitchensink/frontend/src/pages/events/Events.svelte new file mode 100644 index 000000000..dab7d4b3a --- /dev/null +++ b/v2/test/kitchensink/frontend/src/pages/events/Events.svelte @@ -0,0 +1,27 @@ + + +
+

Events

+ + Wails includes a unified events system which allows you to send events in either Go or Javascript and receive them in either Go or Javascript. The events methods may be accessed through the runtime.Events object. Available methods are: + + + + Events are intraoperable and data sent in events is translated between Go and Javascript automatically. + +
+ + +
+ + \ No newline at end of file diff --git a/v2/test/kitchensink/frontend/src/pages/logging/Logging.svelte b/v2/test/kitchensink/frontend/src/pages/logging/Logging.svelte index 6620eba73..bc44f64d6 100644 --- a/v2/test/kitchensink/frontend/src/pages/logging/Logging.svelte +++ b/v2/test/kitchensink/frontend/src/pages/logging/Logging.svelte @@ -67,16 +67,3 @@ - - \ No newline at end of file