From 20fd2c3b8b7ea49595332622753d519bf2cd7ca9 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Mon, 29 Feb 2016 13:43:35 -0600 Subject: [PATCH] chore(refresher): add warning for required ion-refresher-content --- ionic/components/refresher/refresher.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ionic/components/refresher/refresher.ts b/ionic/components/refresher/refresher.ts index e0db9ff487..a96c50340c 100644 --- a/ionic/components/refresher/refresher.ts +++ b/ionic/components/refresher/refresher.ts @@ -210,6 +210,9 @@ export class Refresher { console.warn(' property "' + attrName + '" should now be placed on the inner component instead of . Please review the Refresher docs for API updates.'); } }); + if (!ele.children.length) { + console.warn(' should now have an inner component. Please review the Refresher docs for API updates.'); + } } private _onStart(ev: TouchEvent): any {