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

JavaScript methods that implement HTML user interfaces should do like this... #17

Closed
runarbe opened this issue Mar 17, 2016 · 1 comment

Comments

@runarbe
Copy link
Contributor

runarbe commented Mar 17, 2016

gsc.auth.loginForm(QuerySelector element) {
    jQuery(element).html('<html here>'); // Shared CSS library, using Bootstrap3
}

gsc.auth.loginForm("div#form");

@filipzava
Copy link
Contributor

Yes, I like this solution, it is easy to implement and if you want to use a different style you can overwrite default one.

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