Giter Site home page Giter Site logo

angular-json-tree's People

Contributors

awendland avatar datrio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-json-tree's Issues

Avoid the initial root node

Dear Team,
I would like to avoid the atyle the root name with different color (Object in the display).
How do i style the elements ? Change the default styles ?

Please help me solve at the earliest.
Capture

Thanks
Ajith

Add the search features on angular-json-tree

The JOSN Tree will populate with search-box

Expected Behavior

The JOSN Tree will populate with search-box
On key-up event of search-box the search text will be highlighted from tree

Current Behavior

JSON tree without any search box

Editable value

Would it be too much work to ask if it is possible to create a tree where the values are editable? And to switch between editable states with an for example "editable" attribute?

By the way, great work!

Cannot get injected by wiredep and gulp

I installed this repo using bower in my project and I use gulp/wiredep to inject the bower dependencies into my index.html file. I found the dependency angular-json-tree does not get injected. I guess this repo may have some problem with its bower settings. Could the author please check into this issue?

Link to the wiredep page: https://github.com/taptapship/wiredep:

A Bower package may not properly list its dependencies in its bower.json file.
A Bower package may not specify a main property in its bower.json file.

broken link in README

the project README has a broken link: http://blog.alexwendland.com/angular-json-tree/

Expected Behavior

when link is clicked, browser loads a working example of page using the plugin.

Current Behavior

when link is clicked, i see this:

Page Not found

Looks like you've followed a broken link or entered a URL that doesn't exist on this site.

 Back to our site

Possible Solution

Steps to Reproduce (for bugs)

Context

trying to learn how to use this plugin.

Your Environment

  • Version used:
  • Browser Name and version: chrome
  • Operating System and version (desktop or mobile): mac
  • Link to your project:

How to change the root "object"

How do i change the root "object" initially displayed in the tree. I mean by default it displays "Object". Is it not possible to display some other text ?

$$hashKey attribute is added to the last children

First of all, really nice work!!!

I am working on having a toggle between the code view and the tree view of a JSON object. So when the user clicks to view the tree mode I show the JSON using the package and when the user clicks to view the code mode again I hide the tree view but I notice that the object has an attribute added to the children which is

$$hashKey:"object:695". the number changes depending on the child.

The following is the normal JSON I have

{ "second": "good night", "third": [ 1, "two", 3, { "child": true }, { "parent": true } ], "first": "bye" }

and when I show the tree mode and go back to the code mode I get the following object
{ "second": "good night", "third": [ 1, "two", 3, { $$hashKey:"object:695", "child": true }, { $$hashKey:"object:696", "parent": true } ], "first": "bye" }

Environment

Angular 1.5.5

Dynamic change of expanded state

Any thoughts on having the start-expanded change dynamically on a button click or toggle? I am seeing if I can get something that working. Just curious if this feature has been thought about or partially implemented at all.

JXON XPath

hi,
I'm looking forward to find a way to generate the Xpath of each Node as an attribute in this Directive. can you please help me with this:

var data = { something: {
"array": [
1,
2,
3
],
"boolean": true,
"null": null,
"number": 123,
"object": {
"a": "b",
"c": "d",
"e": "f"
},
"string": "Hello World"
}
};

var desiredPath = "something.object.a" //-> only keys matter.

and where can i use it as an attribute? on ul.branch-value or span.leaf-value?

thanks,
regards,

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.