fix(attr): use pascalCase for config component

This commit is contained in:
Adam Bradley
2015-12-15 09:56:20 -06:00
parent 32f0a0396c
commit 9b12ce3841
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ ion-tabbar-section {
order: $flex-order-tabbar-bottom;
}
[tabbar-placement=top] ion-tabbar-section {
[tabbarPlacement=top] ion-tabbar-section {
order: $flex-order-tabbar-top;
}

View File

@ -30,7 +30,7 @@ function appendConfig(cls, config) {
// set the component "hostProperties", so the instance's
// input value will be used to set the element's attribute
config.host['[attr.' + pascalCaseToDashCase(prop) + ']'] = prop;
config.host['[attr.' + prop + ']'] = prop;
}
cls.delegates = config.delegates;