Skip to content

Commit

Permalink
Add Unit / Integration tests (#39)
Browse files Browse the repository at this point in the history
* Disable drag and drop for specific node.

Remove dependency on `user`

* Update README.md

* Update package.json

* Add testing

* Item-based style

* Updated documentation
  • Loading branch information
geekhybrid authored Jan 26, 2025
1 parent 9139461 commit 228dbe2
Show file tree
Hide file tree
Showing 14 changed files with 12,341 additions and 7,113 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/main

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/npm-publish.yml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface TreeViewItem {
expanded?: boolean;
disableDragAndDrop?: boolean; // Disable drag and drop for a specific node.
disabled?: boolean;// When disabled, an item can neither be selected nor checked
styles?: string[]; // Add the .css styles for a given item
meta?: any;// provides meta-data of any type per node.
}
```
Expand Down
9 changes: 9 additions & 0 deletions dev/serve.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,13 @@ button {
background: blue !important;
}
.red-background {
background: black !important;
color: white;
}
.bold-font {
font-weight: bold !important;
}
</style>
1 change: 1 addition & 0 deletions dev/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"name": "Rejection Emails",
"type": "emails",
"styles": ["red-background", "bold-font"],
"expanded": true,
"children": [
{
Expand Down
Loading

0 comments on commit 228dbe2

Please sign in to comment.