0.7.0 • Published 6 years ago

animated-pages v0.7.0

Weekly downloads
30
License
-
Repository
github
Last release
6 years ago

Currently in development: Partially working (February 2018)

Animated Pages

The <animated-pages> element provides a flexible mechanism for animating between different pages of a web app.

Installation

Polymer 3 only at the moment

npm i animated-pages

Documentation

Read the usage guide on the page for the <animated-pages> Element.

Comparison to other solutions

<iron-pages>:

  • Not animated
  • Pages aren't created lazily when they're needed

<neon-animated-pages>

  • Animations are elements. This is a strange design decision
  • Pages aren't created lazily when they're needed

<iron-lazy-pages>

  • Not animated
  • Lazy creation of pages is done through <dom-if>, thus a single template cannot be shared by multiple pages.

Development

To get your development environment set up, clone this repository and run npm install.

Bug reports, feature proposals and pull requests are welcome!

Visual Studio Code

Install the lit-html extension to get syntax highlighting for the html`...` templates strings in JavaScript. (Note that this project does not use lit-html itself)

Tests

This project uses Web Component Tester to verify correct behavior across different browsers. You can run the tests via npm test.

Development tip: You can also use npx wct --npm --persistent: npx wct --npm is the same command that runs on npm test. However, the --persistent option keeps the browser windows open - which means you can rerun the tests by refreshing the page.

0.7.0

6 years ago

0.6.0

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago