-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support repeated component registration. #92
Comments
By its original design Exhibit expects to only show one exhibit on a page. This is not the only obstacle to changing that behavior. That feature is probably better served by its own pull request / issue. |
Indeed, showing more than one exhibit on a page creates complexity. However, reinitializing that one exhibit is a natural call for plausible usages of exhibit---for example, exhibit editing. |
Any suggestions on how to reinitialize exhibit? I'm using exhibit in an ember.js app and the entire page doesn't reload on page changes. |
Depending on what you need to reinitialize, On 2/23/2015 3:03 PM, Jared Szechy wrote:
|
the registerComponents.exhibit event is triggered to signal components to register themselves.
However, the listeners are all set up to trigger only once, ie $(doc).one("registerComponents.exhibit")
Thus, if a new (second) exhibit is created, it fails to register its components
The text was updated successfully, but these errors were encountered: