data-scalars
v3.2.0
Published
Automatic representation of a _scalar_ value as [Polymer Elements](https://elements.polymer-project.org) (Iron and Paper) - in either read-only or editable mode.
Downloads
3
Readme
<data-scalars>
Automatic representation of a scalar value as Polymer Elements (Iron and Paper) - in either read-only or editable mode.
data-scalars
elements consume an immutable data egg data structure and produce suitable Polymer elements to represent that value. The data egg is a simple structure, which contains the scalar value, its type and logical formatting hints.
Designed to work hand-in-hand with data nuggets data structures delivered by data-pipes
, although both can be used independently.
Install the Polymer-CLI
First, make sure you have the 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. Run polymer test
to run your application's test suite locally.