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

Define needs = define API #1

Open
JSteunou opened this issue Dec 23, 2014 · 1 comment
Open

Define needs = define API #1

JSteunou opened this issue Dec 23, 2014 · 1 comment

Comments

@JSteunou
Copy link
Member

So, what do we need ? @brkattk :)

Maybe we could start by listing

  • the needs
  • then the Marionette.Region methods which will need to be override
  • then their future signature
  • edge cases?
  • future plan / nice to have but not immediate?
@JSteunou
Copy link
Member Author

JSteunou commented Jan 3, 2015

I started with

  • show: like the actual show. Show a new view by emptying the region.
  • add: new method that just add a new view. If already in, can be force added with the forceShow options.
  • empty: like the actual empty. Destroy all views in.
  • remove: remove just one view.

I would like to support array of views later.

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