diff --git a/README.md b/README.md index c8e2a663..c654fbbb 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,15 @@ myTexts: IMultiSelectTexts = { searchPlaceholder: 'Search...', defaultTitle: 'Select', }; + +/* Labels */ +myOptions: IMultiSelectOption[] = [ + { id: 1, name: 'Car brands', isLabel: true }, + { id: 2, name: 'Volvo', parentId: 1 }, + { id: 3, name: 'Colors', isLabel: true }, + { id: 4, name: 'Blue', parentId: 3 } +]; + ``` ```html diff --git a/package.json b/package.json index f5da442f..3d7e8aa6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-2-dropdown-multiselect", - "version": "0.5.0", + "version": "1.0.0", "description": "Customizable dropdown multiselect in Angular 2 with bootstrap css.", "main": "src/multiselect-dropdown.ts", "repository": {