From a8b8fb880a4856741f8a1ecfb2d1c1fa4ae7fb75 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Sat, 29 Apr 2017 00:29:02 -0500 Subject: [PATCH] docs(readme): add note about ion-label --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index fc19ef06fc..e5bfa7713b 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ We will continue to develop and support ionic-angular v3 in the master branch. U ### Changes +#### `@NgModule` Updates + What's great is that Angular already supports and works with web components! In order to enable them simply add `CUSTOM_ELEMENTS_SCHEMA` to the `schemas` property of `@NgModule`, such as: ``` @@ -28,6 +30,16 @@ import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; export class AppModule {} ``` +#### `ion-label` Required + +Previously an `ion-label` would automatically get added to `ion-item` if one wasn't provided. Now an `ion-label` must always be added if the item is used to display text. + +``` + + Item's Text! + +``` + ### Testing