Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jorgecasar/app-pages-loader

Component to load dinamically pages and keep a reduced DOM in huge apps.
https://github.com/jorgecasar/app-pages-loader

Last synced: 23 days ago
JSON representation

Component to load dinamically pages and keep a reduced DOM in huge apps.

Awesome Lists containing this project

README

        

[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/jorgecasar/app-pages-loader)

# \

Component to load dynamically pages and keep a reduced DOM in huge apps.

```html



Max nodes



Max history



Page

View 1
View 2
View 3
View 404








var demo = document.querySelector('#demo');
demo.selected = 'view1';

```

## Install the Polymer-CLI

First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your element locally.

## Viewing Your Element

```
$ polymer serve
```

## Running Tests

```
$ polymer test
```

Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.