From b8c8d8d3dcea11cd54f1cd3ebc34ab9bbd6c8642 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Thu, 5 Jul 2018 18:43:01 -0400 Subject: [PATCH] docs(searchbar): update readme and add angular usage --- core/src/components/searchbar/readme.md | 2 +- .../src/components/searchbar/usage/angular.md | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 core/src/components/searchbar/usage/angular.md diff --git a/core/src/components/searchbar/readme.md b/core/src/components/searchbar/readme.md index 3eae56422f..a7ceb2dd78 100644 --- a/core/src/components/searchbar/readme.md +++ b/core/src/components/searchbar/readme.md @@ -2,7 +2,7 @@ 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 the input focused. A cancel button can be enabled which will clear the input and remove focus. +A Searchbar should be used instead of an input to search lists. A clear button is displayed upon entering input in the searchbar's text field. Clicking on the clear button will erase the text field and the input will remain focused. A cancel button can be enabled which will clear the input and lose the focus upon click. diff --git a/core/src/components/searchbar/usage/angular.md b/core/src/components/searchbar/usage/angular.md new file mode 100644 index 0000000000..0892fceb93 --- /dev/null +++ b/core/src/components/searchbar/usage/angular.md @@ -0,0 +1,30 @@ +```html + + + + + + + + + + + + + + + + + + + + + + + + + + + + +```