Picture of michael lennon
Re: How best to introduce custom html/js
by michael lennon - Tuesday, 21 July 2015, 12:11 PM
 

Hi Chris,

Can you give me an example of the JSON for the component as none is supplied in the github example? 

Im trying... 

{

        "_id":"c-142",

        "_parentId":"b-72",

        "_type":"component",

        "_component":"helloWorld"

    }

but its throwing errors in the browser. Am I missing some properties?

 

 

{        "_id":"c-142",        "_parentId":"b-72",        "_type":"component",        "_component":"helloWorld"     
    }