tangy-form
Advanced tools
Comparing version 2.6.1 to 2.7.0
@@ -74,2 +74,8 @@ | ||
HTMLElement.prototype.getProps = function () { | ||
if (this.constructor.hasOwnProperty('_props') && Array.isArray(this.constructor._props)) { | ||
let props = this.constructor._props.reduce((props, propName) => { | ||
return Object.assign({}, props, { [propName]: this[propName]}) | ||
}, {}) | ||
return props | ||
} | ||
let propertyInfo = this.constructor.properties | ||
@@ -76,0 +82,0 @@ // If no property info, then go off what attributes we do have. |
@@ -0,1 +1,4 @@ | ||
## v2.7.0 | ||
- Add tangy-cards element for arbitrary number of input groups. | ||
## v2.6.1 | ||
@@ -2,0 +5,0 @@ - Adjust position of `*` on required elements. |
{ | ||
"name": "tangy-form", | ||
"description": "A form element for lazy loaded multipage forms", | ||
"version": "2.6.1", | ||
"version": "2.7.0", | ||
"main": "tangy-form.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -6,2 +6,4 @@ import { PolymerElement, html } from '@polymer/polymer/polymer-element.js'; | ||
import './tangy-form-item.js' | ||
import './tangy-cards.js' | ||
import './tangy-card.js' | ||
import './tangy-common-styles.js' | ||
@@ -8,0 +10,0 @@ import './global-styles.js' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
288787
42
5385