manishit56 / Angular4-JsonEditor

Wrapper for jsonedior in angular 4+ application
MIT License
39 stars 17 forks source link

Provided access to the updated json content #11

Closed Amirault closed 5 years ago

Amirault commented 6 years ago

Allow user to have updated content when "onChange" event is raise.

Output "UpdatedContent" can not be used when user provide custom "options.onChange".

Brunoalcau commented 6 years ago

up?

adripanico commented 5 years ago

Allow user to have updated content when "onChange" event is raise.

Output "UpdatedContent" can not be used when user provide custom "options.onChange".

There is a method getText() that can be used for that:

https://github.com/manishit56/Angular4-JsonEditor/blob/46b5ecb13cf266b3d7098100810a1a10096b1297/src/app/component/jsoneditor/jsoneditor.component.ts#L50