Skip to content

Commit 3428f81

Browse files
committed
Updated demo app
1 parent 5113d98 commit 3428f81

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

src/App.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<template>
2-
<section>
3-
<explorer :explorerNodes="explorerNodes"/>
2+
<section >
3+
<tree-view :treeViewItems="treeViewNodes" @contextmenu.prevent="$refs.menu.open" />
44
</section>
55
</template>
66

77
<script lang='ts'>
8-
import {Vue, Component} from 'vue-property-decorator';
8+
import { Vue, Component} from 'vue-property-decorator';
99
10-
import { ExplorerItem, ItemTypes } from '@/contracts/types';
10+
import { TreeViewItem, ItemTypes } from '@/businessLogic/contracts/types';
1111
1212
@Component
1313
export default class App extends Vue {
14-
private explorerNodes: ExplorerItem[] = [
14+
treeViewNodes: TreeViewItem[] = [
1515
{
1616
name: 'OREDO Easte',
1717
id: '1203-390293-1hdklsjdl-903923',
1818
type: ItemTypes.Folder,
19-
checkedStatus: 'True',
19+
checkedStatus: 'False',
2020
children: [
2121
{
2222
name: 'OREDO 001',

src/styles/style.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,4 @@
1717

1818
.align-items-center {
1919
align-items: center;
20-
}
21-
22-
/* tippy related */
23-
.tippy-content {
24-
padding: 0;
2520
}

0 commit comments

Comments
 (0)