You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nge-slides

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nge-slides

Sample library of Angular Elements components geared for a slideshow

0.3.0
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Angular Elements Slides

This is a sample library of Angular Elements components geared for a slideshow. Doesn't play well in Angular applications, but should work with other framworks (tested with vanilla HTML/JS, React and Vue).

Downloading

Angular Elements Slides is available via NPM:

npm install nge-slides

Then just import the library into your code like so:

import 'nge-slides';

Or you can use Angular Elements Slides via CDN:

<script src="https://unpkg.com/nge-slides/nge-slides.js"></script>

Example Usage

<!-- Required wrapper for all slides as well as progress bar -->
<nge-slides-wrapper>
  <nge-slide type="title" title="Angular Element Slides" subtitle="Web Components Made Easy"></nge-slide>
  <nge-slide type="section" title="Section Slide"></nge-slide>
  <nge-slide title="Slide 3" content="Content can be defined via an attribute"></nge-slide>
  <nge-slide title="Slide 4">
    <p>Or you can put your content in as HTML</p>
  </nge-slide>
  <nge-slide type="blank">
    <p>A blank slide has little to no properties</p>
    <p>All it's designed to be is an HTML passthrough</p>
  </nge-slide>
  <nge-slide type="title" title="Goodbye"></nge-slide>
  <nge-slides-progress-bar></nge-slides-progress-bar>
</nge-slides-wrapper>

Keywords

angular elements

FAQs

Package last updated on 14 Dec 2020

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