Gerark
TTyphonJS
•Created by Gerark on 8/28/2023 in #typhonjs-runtime
Embed a DropDown/MenuList made with Svelte
Hello again! 😄
I've been pondering creating a second module for Foundry and a few questions popped up. The idea is to display a Menu/MenuItem using Svelte/TyphonJS when the user clicks on a specific element within a Journal. Now, since the journal is an integral part of Foundry, I'm a bit uncertain about the feasibility of this. Any advice?
My initial idea was to trigger the creation of a SvelteApplication ( EmptyApplicationShell ) with an invisible bkg which opens a MenuList. As soon as the MenuItem is selected it will close the app. By doing so I can work in isolation.
33 replies
TTyphonJS
•Created by Gerark on 8/25/2023 in #typhonjs-runtime
Slide Animations for SvelteApplication
I'd like my window ( which is an EmptyApplicationShell ) to play a slide-in animation when open and a slide-out animation when closed. Something where I see it coming out from the border of the main app. Is it feasible?
2 replies