UNPKG

tiny-electron-essentials

Version:

A lightweight and modular utility library for Electron apps, offering simplified window management, tray support, IPC channels, and custom frameless window styling.

44 lines (28 loc) β€’ 2.22 kB
# πŸ“ Preload Documentation Welcome to the **Preload Documentation Folder**! πŸŽ‰ This folder contains detailed documentation for all the utilities, APIs, and internal tools designed to run inside the **Preload context** of an Electron app. These modules are specifically built to handle communication between the renderer and the main process, window management, IPC requests, notifications, and UI helpers. --- ## πŸ—ΊοΈ Documentation Map Choose which topic you want to learn more about! Each document contains examples, method descriptions, and usage details. | πŸ“„ File | πŸ” Description | | ----------------------------------- | ----------------------------------------------------------- | | [**LoadingHtml**](./LoadingHtml.md) | 🎨 Manages the loading screen HTML and CSS. Easy way to show/hide a loader before your app is ready. | | [**TinyDb**](./TinyDb.md) | πŸ—‚οΈ A simple key-value JSON-based database for lightweight storage on the preload side. | | [**TinyElectronClient**](./TinyElectronClient.md) | πŸš€ Main API to control the Electron window, handle IPC, window status, and events between renderer and main. | | [**TinyElectronNotification**](./TinyElectronNotification.md) | πŸ”” Provides cross-platform system notifications with additional options and IPC sync. | | [**TinyWindowFrameManager**](./TinyWindowFrameManager.md) | πŸͺŸ Full management of custom window frames, borders, and draggable regions for frameless windows. | --- ## πŸ“š About This Folder - This folder is **dedicated to the preload layer only**. - Each file contains: - βœ… Purpose of the module - βœ… Full API documentation - βœ… Usage examples - βœ… Notes, warnings, and tips if needed If you're developing preload-side scripts for your Electron app, this is the place where you’ll find everything you need! πŸ’‘ --- ## πŸ› οΈ How to Use Just pick one of the documentation files above and dive into it! Whether you're managing window frames, sending notifications, handling IPC, or tweaking the loading screen β€” each guide is tailored to help you succeed. --- ## πŸš€ Happy Coding! πŸ’™