diff --git a/README.MD b/README.MD index 67ce6d6..bd9b05d 100644 --- a/README.MD +++ b/README.MD @@ -78,6 +78,11 @@ You must import default styles for tree ( you can change them by rewrite classes } ], ``` + +## Demo + +[Run on stackblitz.com](https://stackblitz.com/edit/angular-1mdkvt) + ## NGX-TREE-DND API With the development of the plug-in API will be replenished. So do not forget update the packadge. diff --git a/dist/README.MD b/dist/README.MD index 671e3af..bd9b05d 100644 --- a/dist/README.MD +++ b/dist/README.MD @@ -78,6 +78,11 @@ You must import default styles for tree ( you can change them by rewrite classes } ], ``` + +## Demo + +[Run on stackblitz.com](https://stackblitz.com/edit/angular-1mdkvt) + ## NGX-TREE-DND API With the development of the plug-in API will be replenished. So do not forget update the packadge. @@ -307,7 +312,7 @@ in you component file: childrens: [] }, { - name: 'first child elem', + name: 'second elem', id: 0987654321, options: { href: 'www.apple.com', // set href to title if config.setTreeItemAsLinks = true, you can style it by .tree-link class. diff --git a/dist/package.json b/dist/package.json index ee4b45a..ac273f3 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "ngx-tree-dnd", - "version": "1.2.3", + "version": "1.2.4", "repository": { "type": "git", "url": "https://github.com/Zicrael/ngx-tree-dnd" diff --git a/src/package.json b/src/package.json index ee4b45a..ac273f3 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "ngx-tree-dnd", - "version": "1.2.3", + "version": "1.2.4", "repository": { "type": "git", "url": "https://github.com/Zicrael/ngx-tree-dnd"