value-history

WebJar for value-history

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.jifalops
ArtifactId

ArtifactId

value-history
Last Version

Last Version

0.2.3
Release Date

Release Date

Type

Type

jar
Description

Description

value-history
WebJar for value-history
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download value-history

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/value-history/ -->
<dependency>
    <groupId>org.webjars.bowergithub.jifalops</groupId>
    <artifactId>value-history</artifactId>
    <version>0.2.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/value-history/
implementation 'org.webjars.bowergithub.jifalops:value-history:0.2.3'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/value-history/
implementation ("org.webjars.bowergithub.jifalops:value-history:0.2.3")
'org.webjars.bowergithub.jifalops:value-history:jar:0.2.3'
<dependency org="org.webjars.bowergithub.jifalops" name="value-history" rev="0.2.3">
  <artifact name="value-history" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.jifalops', module='value-history', version='0.2.3')
)
libraryDependencies += "org.webjars.bowergithub.jifalops" % "value-history" % "0.2.3"
[org.webjars.bowergithub.jifalops/value-history "0.2.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

Published on Vaadin  Directory Stars on vaadin.com/directory Published on webcomponents.org

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.

<value-history value="[[val]]" history="{{history}}" limit="[[limit]]"></value-history>
<input placeholder="value" value="{{val::input}}" length="5"/><br/>
<input placeholder="limit" value="{{limit::input}}" length="5"/>
<dom-repeat items="[[history]]">
  <template>[[item]]<br/></template>
</dom-repeat>

Full demo: webcomponents.org | github.

API: webcomponents.org

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

Versions

Version
0.2.3