All Projects → v-comp → v-folder

v-comp / v-folder

Licence: MIT license
A component of vue.js@2, for tree/directory/files selection or displaying.

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to v-folder

Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Stars: ✭ 125 (+733.33%)
Mutual labels:  tree-structure
Laravel Tournaments
Laravel Package that allows you to generate customizable tournaments trees.
Stars: ✭ 196 (+1206.67%)
Mutual labels:  tree-structure
mongodb-tree-structure
Implementing Tree Structure in MongoDB
Stars: ✭ 14 (-6.67%)
Mutual labels:  tree-structure
Pbtreeview
An UITreeView implementation from UITableView that Apple missed in its UIKit framework. And it is in pure Swift.
Stars: ✭ 128 (+753.33%)
Mutual labels:  tree-structure
Graphview
Flutter GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered graph. Useful for Family Tree, Hierarchy View.
Stars: ✭ 152 (+913.33%)
Mutual labels:  tree-structure
Finderjs
Browse hierarchical data in columns, similar to OS X's Finder
Stars: ✭ 247 (+1546.67%)
Mutual labels:  tree-structure
Calculist
the open source thinking tool for problem solvers
Stars: ✭ 122 (+713.33%)
Mutual labels:  tree-structure
vue-virtualised
Blazing fast scrolling and updating for any amount of list and hierarchical data.
Stars: ✭ 18 (+20%)
Mutual labels:  tree-structure
Relation Classification Using Bidirectional Lstm Tree
TensorFlow Implementation of the paper "End-to-End Relation Extraction using LSTMs on Sequences and Tree Structures" and "Classifying Relations via Long Short Term Memory Networks along Shortest Dependency Paths" for classifying relations
Stars: ✭ 167 (+1013.33%)
Mutual labels:  tree-structure
ng-treetable
A treetable module for angular 5
Stars: ✭ 32 (+113.33%)
Mutual labels:  tree-structure
Kdtree
Absolute balanced kdtree for fast kNN search.
Stars: ✭ 131 (+773.33%)
Mutual labels:  tree-structure
Array To Tree
Convert a plain array of nodes (with pointers to parent nodes) to a nested data structure
Stars: ✭ 141 (+840%)
Mutual labels:  tree-structure
elm-arborist
Parameterized 🌲tree🌲-editor for Elm
Stars: ✭ 57 (+280%)
Mutual labels:  tree-structure
Tempy
Python Object Oriented Html Templating System
Stars: ✭ 126 (+740%)
Mutual labels:  tree-structure
ffiler
File Filer; sort files into structured directory tree. Tree can be structured based on various designs such as date (file modification time), file hash, file prefix etc
Stars: ✭ 45 (+200%)
Mutual labels:  tree-structure
Closure tree
Easily and efficiently make your ActiveRecord models support hierarchies
Stars: ✭ 1,665 (+11000%)
Mutual labels:  tree-structure
Arrow Meta
Functional companion to Kotlin's Compiler
Stars: ✭ 246 (+1540%)
Mutual labels:  tree-structure
frangipanni
Program to convert lines of text into a tree structure.
Stars: ✭ 1,176 (+7740%)
Mutual labels:  tree-structure
ZKTreeTableView
A view of the tree structure.树状结构列表。
Stars: ✭ 97 (+546.67%)
Mutual labels:  tree-structure
youtube discussion tree
This is a python API that allows you to obtain the discusion that occurs on the comments of a Youtube video as a tree structure. It also controls the quota usage that consumes your implementation over Youtube Data Api through this library, and allows you to represent and serialize the discusion tree.
Stars: ✭ 16 (+6.67%)
Mutual labels:  tree-structure

v-folder

A component made for vue@2, for tree/directory/files selection or displaying.

Note

Vue version above 2.1.5 is required.

Install

# npm
npm install --save v-folder

# or yarn
yarn add v-folder

Note that font-awsome is required.

Demo

You can run npm run dev for local preview.

For project integration, see configurations bellow:

import VFolder from 'v-folder';
Vue.use(VFolder);

new Vue({
  el: '#app',
  template: `
      <v-folder :data="data" :ajax="ajax" :conf="conf" @change="onChange"></v-folder>
  `,
  data() {
    return {
      uid: 0,
      conf: {
        // tree node name
        node: 'sourceDir',
        // KEY NAME of dirs/branches/parents etc.. .
        branch: 'dirs',
        // KEY NAME of  files/leafs/children etc...
        leaf: 'files'
      },
      data: {
        // root
        sourceDir: 'C:/Users',
        // children
        files: [],
        dirs: []
      },
      // ajax settings
      ajax: {
        method: 'GET',
        url: 'http://localhost:1234',
        params: {},
        data: {},
        headers: {},
        // params key of path
        pathAs: 'path',
        // process response data
        process: (res) => res.data
      }
    };
  },
  methods: {
    onChange(result) {
      console.log(result);
    }
  }
});

Screenshot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].