Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angularjs How to set code view as deafult instead of tree in jsoneditor

const container = document.getElementById("id_editor");
    var options = {
        modes: ['code', 'tree'],
        mode: "code",
    };
    const editor = new JSONEditor(container, options);
 
PREVIOUS NEXT
Tagged: #angularjs #How #set #code #view #deafult #tree #jsoneditor
ADD COMMENT
Topic
Name
1+8 =