mirror of
https://github.com/frappe/books.git
synced 2024-12-25 20:11:15 +00:00
20 lines
342 B
JavaScript
20 lines
342 B
JavaScript
|
const BaseComponent = require('../baseComponent');
|
||
|
const TreeNode = require('./treeNode');
|
||
|
|
||
|
class Tree extends BaseComponent {
|
||
|
get templateHTML() {
|
||
|
return require('./index.html');
|
||
|
}
|
||
|
|
||
|
constructor() {
|
||
|
super('Tree');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
window.customElements.define('f-tree', Tree);
|
||
|
|
||
|
module.exports = {
|
||
|
Tree,
|
||
|
TreeNode
|
||
|
}
|