chore(): rename properties to inputs, events to outputs

This commit is contained in:
Adam Bradley
2015-10-06 16:28:29 -05:00
parent 5d6a367fa3
commit 9bc09300df
25 changed files with 46 additions and 43 deletions

View File

@@ -17,8 +17,8 @@ export class Ion {
onInit() {
let cls = this.constructor;
if (cls.defaultProperties && this.config) {
for (let prop in cls.defaultProperties) {
if (cls.defaultInputs && this.config) {
for (let prop in cls.defaultInputs) {
// Priority:
// ---------
// 1) Value set from within constructor
@@ -42,7 +42,7 @@ export class Ion {
}
// wasn't set yet, so go with property's default value
this[prop] = cls.defaultProperties[prop];
this[prop] = cls.defaultInputs[prop];
}
}
}