Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jifalops/value-history

Record property changes with this handy little element.
https://github.com/jifalops/value-history

Last synced: 5 days ago
JSON representation

Record property changes with this handy little element.

Awesome Lists containing this project

README

        

[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/jifalopsvalue-history)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/jifalopsvalue-history.svg)](https://vaadin.com/directory/component/jifalopsvalue-history)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/value-history)

# value-history
Record property changes with this handy little element.

## Installation

```
bower i -S value-history # Polymer 2.0 hybrid (1.x compatible)
bower i -S value-history#0.1.0 # Polymer 1.x based
```

## Usage
Primarily for use with `app-location` in client-side routed apps, or
for debugging and testing.
* Tell it which property to watch for changes
* Optionally limit the history to a certain length.

## Demo
Polymer bindings may not work in this readme demo.

```html


[[item]]

```

Full demo:
[webcomponents.org](https://www.webcomponents.org/element/jifalops/value-history/demo/demo/index.html)
| [github](https://jifalops.github.io/value-history/components/value-history/demo/).

API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/value-history/value-history)

## Contributing

1. Fork it on Github.
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request

## License

[MIT](https://opensource.org/licenses/MIT)