-
Notifications
You must be signed in to change notification settings - Fork 392
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
Customize clicks in asl-google-signin-button #744
Comments
I don't think you're going to get much here, this seems to be something that Google themselves restrict, they want the button rendered in their own iframe (seemingly with great intent). What you might be able to do is render the You can do some (very modest) customization of the button appearance using their generator, which you can then use to customize <!-- from the google generator -->
<div class="g_id_signin"
data-type="standard"
data-shape="pill"
data-theme="filled_blue"
data-text="signin_with"
data-size="large"
data-logo_alignment="left"
data-width="100">
</div> becomes: <asl-google-signin-button
type="standard"
shape="pill"
theme="filled_blue"
text="signin_with"
size="large"
logo_alignment="left"
width="100">
</asl-google-signin-button>
<!-- note that asl-google-signin-button also has an input for `locale`, see https://developers.google.com/identity/gsi/web/reference/html-reference#data-locale --> |
I want to use my own custom buttons we use material design . These buttons looks out of place. There must be a way to use my own button and wrap it with this component or something. Please help |
So currently is not possible to fully customize the asl-google-signin-button except for the Directive.
Also, the click is not available since it's an iframe.
Is it possible to customize to my own button and call the asl-google-signin-button via the ViewChild?
Current versions:
Angular 16
[email protected]
The text was updated successfully, but these errors were encountered: