0.1.1 • Published 4 years ago

@wonkytech/tm-splash-screen v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

tm-splash-screen

Web component splash screen to manage login and waiting for dependencies.

Installation

npm --save install @wonkytech/tm-splash-screen

Usage

<head>
    <style>
        html {
            --tm-splash-screen-background: lightgray; 
            --tm-splash-screen-color: black; 
        }
    </style>
    <script type="module">
        import 'tm-splash-screen';
    </script>
</head>
<body>
    <tm-splash-screen 
        heading="My App" 
        subheading="Please login" 
        login></tm-splash-screen>
</body>