Skip to content

Commit

Permalink
Adding label info. Bumping version.
Browse files Browse the repository at this point in the history
  • Loading branch information
softsimon committed Mar 1, 2017
1 parent 1861f4c commit cb95004
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit cb95004

Please sign in to comment.