A Polymer Element showing the keys and values of an object collection.
var collection = {
Key1: ['Value1'],
Key2: ['Value2', 'Value3'],
Key3: []
};
<terms-display
collection="[[collection]]">
</terms-display>
<terms-display>
provides the following custom properties and mixins for styling:
Custom property | Description | Default |
---|---|---|
--terms-display-label-style-mixin |
Custom style mixin for the label. | none |
Dependencies are installed using Bower:
npm install -g bower
bower install
Tests are run using web-component-tester:
npm install -g web-component-tester
wct
Demonstration and documentation are viewed using polyserve:
npm install -g polyserve
polyserve