npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

web-presentation

v1.0.3

Published

Pure Web Components Presentation Framework

Downloads

6

Readme

web-presentation

A presentation framework created with web components

  • Lightweight
  • No dependencies
  • Modular
  • Extendable

Example

http://christiankohler.github.io/web-presentation/

Plunks

Try web-presentation ..

http://plnkr.co/edit/uU2lbg?p=preview

http://plnkr.co/edit/rTH17v?p=preview

Getting Started

Install web-presentation with npm

npm i web-presentation

Get web-presentation via bower

bower install web-presentation

Include the dist/web-presentation.html file in your project.

<link rel="import" href="web-presentation.html">

Use the web slide component in your html file.

<web-presentation>
  <web-presentation-keyboardcontrols></web-presentation-keyboardcontrols>
  <web-slide-title>
    <h1>web-presentation</h1>
    <h2>Pure Webcomponents Presentation Framework</h2>
  </web-slide-title>
  <web-slide>
    <h1>Native, fast, extendable</h1>
    <h2>..and only one file to import</h2>
  </web-slide>
</web-presentation>

API

Components

|Component|Description| |:--------|:----------| |web-presentation|The presentation element which contains all slides| |web-slide|The slide element has to be within a web-presentation element| |web-slide-title|The title is the same element as web-slide. The idea is to make it easier to style all title slide| |web-presentation-keyboardcontrols|One way to control the presentation. Use left and right arrow keys or space to go to the next slide| |web-presentation-progress|Displays a progress bar on the bottom of the screen|

Transitions

Usage:

  <web-slide-title data-transition="fall">

Available transitions:

  • fall
  • moveFromTop
  • moveToLeft
  • moveFromBottom
  • newspaper
  • fadeIn
  • fadeInFromTop
  • fadeInFromBottom

If you want to add a transitions to this library please make a pull-request.

Fragments

Show parts of a slide step by step.

Show:

  <ul>
    <li data-enter="1">First</li>
    <li data-enter="99">Last</li>
    <li data-enter="2">Second</li>
  </ul>

Hide:

  <div data-exit="1">Hide me</div>

Mixed:

  <!-- step1:shows p1 / step2:shows p2 / step3:hides div1 and shows div2-->
  <div id="div1" data-exit="10">
    <p data-show="1">Show first</p>
    <p data-show="2">Show second</p>
  </div>
  <div id="div2" data-show="10">Show after</div>

Run local demo

  • Install local dev dependencies: npm install
  • Run gulp gulp

Requirements

Use Chrome 36 or higher to use web-presentation without a polyfill.

Contribute

Help make web-presentation better.

  • Install local dev dependencies: npm install
  • Run gulp watch task: gulp
  • Edit src files