From dbfed0c7c4e59bb36ebe46ab124ad8db15a748a8 Mon Sep 17 00:00:00 2001 From: Kenn Sebesta Date: Tue, 1 Aug 2017 18:17:51 -0400 Subject: [PATCH] Include checkbox in README.md This includes the missing checkbox component for the sorting demo. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9949501..f06020d 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,10 @@ Here the `ListView` will only show elements that contains the content of the `Te RoleSorter { roleName: "lastName" } ] } + + CheckBox { + id:onlyShowFavoritesCheckbox + } ``` This will show in the corresponding `ListView` only the elements where the `firstName` or the `lastName` match the text entered in the `textField`, and if the `onlyShowFavoritesCheckbox` is checked it will aditionnally filter the elements where `favorite` is `true`. The favorited elements will be shown first and all the elements are sorted by `firstName` and then `lastName`.