Code Monkey home page Code Monkey logo

angular-tree-component's Introduction

Build Status npm version

angular tree component

support

Please fill this form to get quick and professional support (bug report / feature request / help implementing / etc.): https://goo.gl/forms/9KobHoFkjSMtGC2K3

  • note: This project is completely free and open to use under the MIT license. If you wish to get help from fellow community developers, feel free to use Github issues.

A full featured tree component for Angular (2, 4, 5)

We've built so many projects that required a tree component, and could never find a library that supported all features. And building your own tree component is not an easy task.

So, we decided to build one for Angular, with all the features you can think of:

  • Simple to use
  • Well Documented
  • Customizable & Extensible (override field names, custom templates, etc...)
  • Keyboard navigation
  • Async data
  • Drag & Drop
  • Select & Multiselect
  • Filtering
  • Virtual Scrolling
  • Save & restore tree state
  • Event callbacks
  • API for accessing & altering the tree state
  • Easily styled (comes with very minimal styling)

Angular supported version

angular-tree-component supports angular 2.X.X, 4.X.X and 5.X.X releases, and AoT compilation.

Getting started

Please refer to the full documentation:
https://angular2-tree.readme.io/docs

Demo

You can find working demos inside the docs: https://angular2-tree.readme.io/docs

Call for styles

Hello users & contributors of the tree.

We're looking for nice example themes for the tree. If you've made one, and are willing to share, please open an issue and attach your CSS and image of how it should look.

Thanks

Example

To run the example:

git clone https://github.com/500tech/angular-tree-component

cd angular-tree-component/example/cli
npm install
./node_modules/.bin/ng serve

SystemJS

Sorry guys, SystemJS is not supported. Modern web applications use bundlers like Webpack.

We've tried to support SystemJS for a year, but it just causes too many issues.

What's next

We would always love to hear suggestions for features & improvements - just open an issue.

Some things on our mind down the road:

  • Context menu
  • Checkbox & master checkbox support
  • Refactor drag & drop
  • Add more tests
  • Add more examples

Contributing

run npm run example:cli and open localhost:4200 to test your code before submitting a pull request.

Windows users - if it doesn't work try npm run example:cli:win.

To run tests locally - make sure port 4200 is available and run:

$ npm run test:setup  # Wait until webpack finishes and http://localhost:4200 is available
$ npm run test

Please check the issues / project before starting to work on a feature / bug to make sure it's not already in progress.

angular-tree-component's People

Contributors

adamkleingit avatar isaacplmann avatar istiti avatar schmuli avatar saar-codeoasis avatar pandawi avatar jskrzypek avatar nikolasleblanc avatar shigi avatar erasethis avatar alexciesielski avatar awallat avatar danielalvarenga avatar davidthewin avatar groussac avatar isaklafleur avatar jvandemo avatar kilianssl avatar ferreirocm avatar abrissirba avatar romanovma avatar nwronski avatar stevengbrown avatar joachim-bl avatar kkaabbaa avatar kukiel avatar 24hours avatar dojchek avatar paatas avatar

Watchers

James Cloos avatar qiushangzhe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.