Skip to content

Add brite.detach and brite.attach #13

@jeremychone

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).

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