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

@ -28,7 +28,7 @@ export class Slide {
};
}
protected render() {
render() {
return <slot></slot>;
}
}

View File

@ -185,7 +185,7 @@ export class Slides {
@Prop() keyboardControl: boolean;
protected render() {
render() {
return (
<div class='swiper-container' data-dir='rtl'>
<div class='swiper-wrapper'>
@ -386,9 +386,9 @@ export class Slides {
/**
* @hidden
*/
protected ionViewDidLoad() {
componentDidLoad() {
/**
* TODO: This should change because currently ionViewDidLoad fires independent of whether the
* TODO: This should change because currently componentDidLoad fires independent of whether the
* child components are ready.
*/
setTimeout(() => {
@ -547,7 +547,7 @@ export class Slides {
/**
* @hidden
*/
protected ionViewDidUnload() {
componentDidUnload() {
this._init = false;
this.swiper.destroy(true, true);