Create a custom button and trigger google signin action #726
Closed
alexjar2211
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
I tried to make this work but this does fail in Firefox. Any updates on this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, It seems there is a way to trigger the action for google signin method.
https://medium.com/@leonardosalles/a-guide-to-custom-google-sign-in-button-e7b02c2c5e4f
I read that article and applied some changes to replicate the use case using this library and It worked.
If you use
<asl-google-signin-button style="display: none;" #customGoogleBtn></asl-google-signin-button>it shows that div that menctions in the article and the "click" event can be trigger from the component.If you delete "display: none" the button renders and that div stays empty.
Maybe this is not a stable solution because there is not a official documentation, maybe is bug and may google it fixed later.
Anyhow
Beta Was this translation helpful? Give feedback.
All reactions