New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zappar/splash

Package Overview
Dependencies
Maintainers
11
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zappar/splash

Zappar examples splash screen.

  • 0.0.0-rc.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-66.67%
Maintainers
11
Weekly downloads
 
Created
Source

@zappar/splash

An splash screen used for Zappar's example projects.

Table Of Contents

Click to expand table of contents
  • @zappar/splash

Starting Development

You can use this library by downloading a standalone zip containing the necessary files, by linking to our CDN, or by installing from NPM for use in a webpack project.

Standalone Download

Download the bundle from this link: https://libs.zappar.com/zappar-splash/0.0.0-rc.1/zappar-splash.zip

Unzip into your web project and reference from your HTML like this:

<script src="zappar-splash.js"></script>

CDN

Reference the zappar-splash.js library from your HTML like this:

<script src="https://libs.zappar.com/zappar-splash/0.0.0-rc.1/zappar-splash.js"></script>

NPM Webpack Package

Run the following NPM command inside your project directory:

npm install --save @zappar/examples-splash

Then import the library into your JavaScript or TypeScript files:

import { showUI } from "@zappar/splash";

Usage

Displaying the UI

import { showUI } from "../src/index";

showUI({
  // Hide the screen when user taps on the button.
  onClick: (e) => {
    // Pass 'false' to skip fading out.
    e.destroy();
  },
  title: "My title",
  subtitle: "My subtitle",
  buttonText: "SUBMIT",
  // background: "",
  // logo: "",
});

FAQs

Package last updated on 13 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc