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

Provide dialog #99

Closed
noyainrain opened this issue Jan 14, 2020 · 1 comment
Closed

Provide dialog #99

noyainrain opened this issue Jan 14, 2020 · 1 comment

Comments

@noyainrain
Copy link
Owner

Make it possible to show a dialog for actions that require additional input.

@noyainrain
Copy link
Owner Author

Draft:

/**
 * Modal dialog to query additional information for an action.
 *
 * .. attribute:: result
 *
 *    Promise that resolves with the result of the concluded dialog. ``null`` if the dialog is
 *    closed.
 */
micro.core.Dialog = class extends HTMLElement {};

micro.UI = class {
    /**
     * Active :class:`micro.core.Dialog`.
     *
     * Set to open the given the dialog. May be ``null``.
     */
    get dialog() {}
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant