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

Serialize option documentation is incomplete #282

Open
mig8447 opened this issue Sep 17, 2020 · 0 comments
Open

Serialize option documentation is incomplete #282

mig8447 opened this issue Sep 17, 2020 · 0 comments

Comments

@mig8447
Copy link

mig8447 commented Sep 17, 2020

The default function is incomplete

function ($parent, $children, parentIsContainer) {
      var result = $.extend({}, $parent.data())

      if(parentIsContainer)
        return [$children]
      else if ($children[0]){
        result.children = $children
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant