refactor(components): update components to match stencil style guide

https://github.com/ionic-team/stencil/blob/master/STYLE_GUIDE.md
This commit is contained in:
Brandy Carney
2017-11-20 12:36:36 -05:00
parent b493c819dd
commit 3accafcc3c
87 changed files with 224 additions and 224 deletions

View File

@ -109,7 +109,7 @@ export class Segment {
this.selectButton(val);
}
protected ionViewDidLoad() {
componentDidLoad() {
this.buttons = this.el.querySelectorAll('ion-segment-button');
for (var i = 0; i < this.buttons.length; i++) {
@ -154,7 +154,7 @@ export class Segment {
};
}
protected render() {
render() {
return <slot></slot>;
}
}