electron-react-python-template - v1.0.0
    Preparing search index...
    interface ElectronAPI {
        getPort: () => number;
        maximize: () => void;
        minimize: () => void;
        quit: () => void;
        unmaximize: () => void;
    }
    Index

    Properties

    getPort: () => number

    Returns the Flask port assigned by main.js. Synchronous so renderer code can use the value at module load time without an extra await.

    maximize: () => void
    minimize: () => void
    quit: () => void
    unmaximize: () => void