github.com/secoba/wails/v2@v2.6.4/internal/frontend/runtime/dev/store.js (about)

     1  import {writable} from 'svelte/store';
     2  
     3  /** Overlay */
     4  export const overlayVisible = writable(false);
     5  
     6  export function showOverlay() {
     7      overlayVisible.set(true);
     8  }
     9  
    10  export function hideOverlay() {
    11      overlayVisible.set(false);
    12  }