Docs
API
  • destroy()

    destroy form - unset all handlers and clean up dom from form.
    After calling this method, the form should not be used any further.

    Example

    
    form.destroy();