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

useDialog becoming an instance method available via Uize.Widget? #14

Open
BenAtZazzle opened this issue Nov 4, 2011 · 2 comments
Open

Comments

@BenAtZazzle
Copy link
Contributor

It's very convenient having inform(), confirm() & ajax() as methods directly on widgets even though they are ultimately implemented at the page level. Dialogs are used heavily on the Zazzle site, and it'd be nice to not have to call the callInherited() method each time we want to launch a dialog because it's defined on the page widget. It'd be nice to have a similar helper method on Uize.Widget called launchDialog() or simply dialog()

@UIZE
Copy link
Owner

UIZE commented Nov 4, 2011

What kind of method signature would you be looking at having?

@BenAtZazzle
Copy link
Contributor Author

I was just thinking the same as useDialog...

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