Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to sync node expand/collapse operations across editors #1440

Merged
merged 3 commits into from May 31, 2022

Commits on May 18, 2022

  1. Add support to get notified when a JSON node is expanded/collapsed.

      * Added onExpand callback option to be passed while creating JSONEditor
      * The callback is invoked when the expand/collapse is done non-programatically
    hi-rai committed May 18, 2022
    Copy the full SHA
    acc02d2 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2022

  1. Add API to expand/collapse a given node

      * Added JSONEditor.expand() method
    hi-rai committed May 29, 2022
    Copy the full SHA
    5dce449 View commit details
    Browse the repository at this point in the history
  2. Add example to demostrate syncing expanded nodes across editors

      * Added examples/25_sync_node_expand.html
    hi-rai committed May 29, 2022
    Copy the full SHA
    3e069b4 View commit details
    Browse the repository at this point in the history