File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 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
1313export 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' ,
Original file line number Diff line number Diff line change 1717
1818.align-items-center {
1919 align-items : center;
20- }
21-
22- /* tippy related */
23- .tippy-content {
24- padding : 0 ;
2520}
You can’t perform that action at this time.
0 commit comments