Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/simplajs/simpla-demo-helper

Sets up a demo environment for Simpla element demos
https://github.com/simplajs/simpla-demo-helper

custom-elements demos simpla web-components

Last synced: about 2 months ago
JSON representation

Sets up a demo environment for Simpla element demos

Awesome Lists containing this project

README

        

# Simpla Demo Helper
![Version][bower-badge] [![Build status][travis-badge]][travis-url] [![Bower dependencies][bowerdeps-badge]][bowerdeps-url] ![Size][size-badge] [![Published][webcomponents-badge]][webcomponents-url]

Simpla-demo-helper sets up an environment for Simpla element demos. It imports Simpla, sets up a dummy project, and adds an edit mode toggle control to the page.

```html

```

## Installation & usage

Install simpla-demo-helper with Bower (Yarn support coming soon)

```sh
$ bower install simpla-demo-helper --save-dev
```

Import it into the `` of your element demo page

```html

```

Then use the element at the top of your page. It will include and setup Simpla for you, and an edit mode toggle control will be available where the element is used.

```html

```

***

MIT © Simpla

[bower-badge]: https://img.shields.io/bower/v/simpla-demo-helper.svg
[bowerlicense-badge]: https://img.shields.io/bower/l/simpla-demo-helper.svg
[travis-badge]: https://img.shields.io/travis/SimplaElements/simpla-demo-helper.svg
[travis-url]: https://travis-ci.org/SimplaElements/simpla-demo-helper
[bowerdeps-badge]: https://img.shields.io/gemnasium/SimplaElements/simpla-demo-helper.svg
[bowerdeps-url]: https://gemnasium.com/bower/simpla-demo-helper
[size-badge]: https://badges.herokuapp.com/size/github/SimplaElements/simpla-demo-helper/master/simpla-demo-helper.html?gzip=true
[webcomponents-badge]: https://img.shields.io/badge/webcomponents.org-published-blue.svg
[webcomponents-url]: https://www.webcomponents.org/element/SimplaElements/simpla-demo-helper