0.3.0 • Published 3 years ago

nge-slides v0.3.0

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

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>
0.3.0

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.0

4 years ago