All Projects β†’ trodi β†’ Electron Splashscreen

trodi / Electron Splashscreen

Licence: mit
Simple splashscreen for electron applications.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Electron Splashscreen

Forms
πŸ“ Simple form & survey app for Nextcloud
Stars: ✭ 127 (-1.55%)
Mutual labels:  hacktoberfest
Yt Ad Autoskipper
A browser extension that automates skipping ad on Youtube. This is not an ad blocker, it just automates the process of clicking on the "Skip Ad" button on Youtube.
Stars: ✭ 127 (-1.55%)
Mutual labels:  hacktoberfest
Slack Orb
Create custom Slack notifications for CircleCI job statuses
Stars: ✭ 129 (+0%)
Mutual labels:  hacktoberfest
Rasa Ptbr Boilerplate
Um template para criar um FAQ chatbot usando Rasa, Rocket.chat, elastic search
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Node Disk Manager
Kubernetes Storage Device Management
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Pytest Postgresql
This is a pytest plugin, that enables you to test your code that relies on a running PostgreSQL Database. It allows you to specify fixtures for PostgreSQL process and client.
Stars: ✭ 127 (-1.55%)
Mutual labels:  hacktoberfest
Leetcode Solutions
This repository consists of solutions to the problem from LeetCode platform. Subscribe to our Channel for more updates
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Guidetomastodon
An increasingly less-brief guide to Mastodon
Stars: ✭ 129 (+0%)
Mutual labels:  hacktoberfest
Color Tracker
Color tracking with OpenCV
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Awesome Wp Cli
A curated list of packages and resources for WP-CLI, the command-line interface for WordPress.
Stars: ✭ 129 (+0%)
Mutual labels:  hacktoberfest
Aws Iot Device Sdk Python V2
Next generation AWS IoT Client SDK for Python using the AWS Common Runtime
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Irslackd
Self-hosted IRC gateway to Slack
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Docs
Mattermost documentation
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Ocpp
Python implementation of the Open Charge Point Protocol (OCPP).
Stars: ✭ 127 (-1.55%)
Mutual labels:  hacktoberfest
Cbonlineapp
😎⚑️Android App for Coding Blocks Online Courses
Stars: ✭ 129 (+0%)
Mutual labels:  hacktoberfest
Awesome Python Scripts
A curated collection of some 😍 cool Python scripts.
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Integration
HACS gives you a powerful UI to handle downloads of all your custom needs.
Stars: ✭ 2,114 (+1538.76%)
Mutual labels:  hacktoberfest
Oc Mall Plugin
πŸͺ E-commerce solution for October CMS
Stars: ✭ 128 (-0.78%)
Mutual labels:  hacktoberfest
Google Font Downloader
🌩 Google Font Downloader is a CLI tool which allows you to download the needed Google Fonts, by providing the Google APIs url.
Stars: ✭ 129 (+0%)
Mutual labels:  hacktoberfest
Reactiveui.samples
This repository contains ReactiveUI samples.
Stars: ✭ 127 (-1.55%)
Mutual labels:  hacktoberfest

electron-splashscreen Build Status

Simple splashscreen for Electron applications.

Ideally, your application loads instantaneously. However, some applications are larger and/or may be running on a slower machine, causing the load to take longer. If the application is taking a bit to load, electron-splashscreen will appear so the user knows the application is loading, but can't interact with a partially loaded application.

electron-splashscreen is simple to incorporate, while allowing you the freedom to customize with any look, feel, and functionality.

No external dependencies.

Install

npm install @trodi/electron-splashscreen

Usage

Typescript Usage (javascript would be similar)

Example of your Electron browser process.

// import the module
import * as Splashscreen from "@trodi/electron-splashscreen";
const mainOpts: Electron.BrowserWindowConstructorOptions = ...
// configure the splashscreen
const config: Splashscreen.Config = {
    windowOpts: mainOpts;
    templateUrl: `${__dirname}/splash-screen.html`;
    splashScreenOpts: {
        width: 425,
        height: 325,
    },
};
// initialize the splashscreen handling
const main: BrowserWindow = Splashscreen.initSplashScreen(config);
// load your browser window per usual
main.loadURL(`file://index.html`);

You can run examples via npm run example and npm run example-dynamic.

API

API Documentation

Build

npm run build

Publish

  • npm version <patch|minor|major>
  • npm publish
  • Commit and push changes to git

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].