Skip to content

Commit

Permalink
add demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
Zicrael committed Mar 27, 2018
1 parent df3828c commit a4469b8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 6 additions & 1 deletion dist/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 <a> title if config.setTreeItemAsLinks = true, you can style it by .tree-link class.
Expand Down
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit a4469b8

Please sign in to comment.