From 67cecf0dfbe1c65a41ddb94cf71ff3df6d551ac1 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 2 Feb 2018 13:57:07 -0500 Subject: [PATCH] docs(searchbar): update searchbar docs --- .../core/src/components/searchbar/readme.md | 39 +++++++++++++++---- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/packages/core/src/components/searchbar/readme.md b/packages/core/src/components/searchbar/readme.md index 7243859308..b5e2036615 100644 --- a/packages/core/src/components/searchbar/readme.md +++ b/packages/core/src/components/searchbar/readme.md @@ -1,14 +1,39 @@ # ion-searchbar -Manages the display of a Searchbar which can be used to search or filter items. +Searchbars represent a text field that can be used to search through a collection. They can be displayed inside of a toolbar or the main content. + +A searchbar should be used instead of an input to search lists. A clear button is displayed on input in the searchbar's text field. Clicking on the clear button will erase the text field and remain focused in the input. A cancel button can be enabled which will clear the input and remove focus. + ```html - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + ```