Skip to content

NodeCGElements/nodecg-replicant-input

Repository files navigation

<nodecg-replicant-input> Published on webcomponents.org Polymer 2 only

A <paper-input> element that has two-way binding with a Replicant, for use in Polymer 2. Works with NodeCG v0.9.x.

Motivation

This element allows you to easily make a Replicant directly editable in your UI, rather than needing to manually connect a Replicant to an input element yourself.

Installation

From your bundle's root directory:

bower install --save NodeCGElements/nodecg-replicant-input

Usage

<nodecg-replicant-input replicant-name="my-replicant"></nodecg-replicant-input>

Contributing

  1. Fork it!
  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

nodecg-replicant-input is provided under the MIT license, which is available to read in the LICENSE file.

About

A <paper-input> element that has two-way binding with a Replicant.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages