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

Service for showing/hiding #2

Open
doowb opened this issue Oct 31, 2013 · 4 comments
Open

Service for showing/hiding #2

doowb opened this issue Oct 31, 2013 · 4 comments

Comments

@doowb
Copy link
Member

doowb commented Oct 31, 2013

Create a service to be used to show and hide the loader.

@jonschlinkert
Copy link
Member

is this something that can be used for more than the loader? like for hiding/showing buttons, content, etc?

@jonschlinkert
Copy link
Member

cool idea btw

@doowb
Copy link
Member Author

doowb commented Nov 3, 2013

This service would be something used internally for this loading module for keeping state. We could pull it out into a stand alone service for keeping some type of state and broadcasting events. The service itself doesn't do any showing or hiding.

The main point of this is to be able to have multiple "loading" icons, labels, popups, or whatever on a screen that are triggered by events from this service. So you have click on a button (think of our stateful project for too long ago), the button would turn into a loading icon until the service triggers loading is complete.

Of course, I'm trying to make this built as small pieces of css/html/javascript that can be replaced with other "themes" as an example of how we can use assemble for building components.

@jonschlinkert
Copy link
Member

We could pull it out into a stand alone service for keeping some type of state and broadcasting events.

exactly, sweet :-)

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

2 participants