mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(attr): use pascalCase for config component
This commit is contained in:
@ -43,7 +43,7 @@ ion-tabbar-section {
|
|||||||
order: $flex-order-tabbar-bottom;
|
order: $flex-order-tabbar-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
[tabbar-placement=top] ion-tabbar-section {
|
[tabbarPlacement=top] ion-tabbar-section {
|
||||||
order: $flex-order-tabbar-top;
|
order: $flex-order-tabbar-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ function appendConfig(cls, config) {
|
|||||||
|
|
||||||
// set the component "hostProperties", so the instance's
|
// set the component "hostProperties", so the instance's
|
||||||
// input value will be used to set the element's attribute
|
// 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;
|
cls.delegates = config.delegates;
|
||||||
|
Reference in New Issue
Block a user