GithubHelp home page GithubHelp logo

object-editor's Introduction

License

object-editor

a simple AngularJS directive for viewing and editing a javascript object

object-editor is useful for debugging an object in the scope

try the demo

How to use

Installation

use bower or download the zip

bower install object-editor

Include the following files in your project:

  • object-editor.js
  • object-editor.css

Inject to your angular app

angular.module('my-app', ['objectEditor']);

Use inside a view or template

<object-editor object='someObjectInYourScope'></object-editor>

object-editor's People

Contributors

barakedry avatar mglazer-cengage avatar

Stargazers

 avatar Saurabh Kharivale avatar Michael avatar CJ avatar  avatar Lionel Bertrand avatar  avatar  avatar John McCarthy avatar Sagie Gur-Ari avatar Shaun Foce avatar Stéphane avatar Julien Valéry avatar Matthew McLeod avatar Alessandro Frangioni avatar Artur avatar TC Devs avatar Lior Boord avatar  avatar Alex Dyba avatar

Watchers

 avatar Volodymyr Mechkauskas avatar Heiko Kampmann avatar  avatar

object-editor's Issues

edit key

hi,

first of all, thanks for your lib, it's so easy to use.
is there a way to permit to edit keys ? (for instance string, number, bool, array, subObject, child, string in your jsfiddle http://jsfiddle.net/barakedry/1L8e7mwx/1/ )
right now, i use the duplicate as a workaround, but since it's creating the clone at the bottom and there is not re-ordering, it's not very convenient.

thanks

feature request

  1. It would be great if we can edit the property/key name

  2. Be able to drag and drop positions of properties

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.