Skip to content

Add brite.detach and brite.attach #13

Description

@jeremychone

Add API to allow to detach a view instance from the DOM and all related event without removing the internal events and properties.

brite.detach(viewObject) and brite.attach(viewObject,parentElement).

  • The detach will unbind the .docEvents and .winEvents
  • perhaps the daoEvents as well, and the attach will reattach them. (just thinking at this point).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions