/file-tree

An element displaying a file tree.

Primary LanguageHTMLMIT LicenseMIT

Introduction

This repository is a collection of 2 new web-components that can be combined to easily display a directory of folders.

Check out the demo and docs here: https://winhowes.github.io/file-tree/components/file-tree/.

Elements

  • file-tree: a container for all the folders which handles selecting isolated folders.
  • file-folder: A folder which can contain other folders.

Installation

To install simply run:

bower install --save winhowes-file-tree

Use

Simply include <link rel="import" href="/components/winhowes-file-tree/file-tree.html"> in your page.