import ngModule from '../../module'; import Component from '../../lib/component'; import './style.scss'; /** * A simple tooltip. * * @property {String} position The relative position to the parent */ export default class Treeview extends Component { constructor($element, $scope, $timeout) { super($element, $scope); } get data() { return this.model.data; } set selection(value) { this._selection = value; } } Treeview.$inject = ['$element', '$scope', '$attrs']; ngModule.component('vnTreeview', { template: require('./index.html'), controller: Treeview, bindings: { model: '<' } });