mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
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:
@ -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>;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user