lorisleiva / solana-wallets-vue

Solana wallet integration for Vue 3
https://solana-wallets-vue-demo.netlify.app/
170 stars 62 forks source link

modal window trigger #19

Open alexandr-kazakov opened 2 years ago

alexandr-kazakov commented 2 years ago

How can I open a modal window with a wallet selection so that the user does not have to click on the button(WalletMultiButton)?

chrome_lWnboqW1XJ
cryptoboole commented 1 year ago

If you go into the source towards WalletMultiButton.vue you can see how the wallet-modal-provider achieves this. Then it's just a matter of wrapping your button in the wallet-modal-provider as such and it works image

FreeLancerPT commented 7 months ago

@cryptoboole

Any way not have the button and just go direct to the modal if not connencted? instead of clicking btn open modal, just show the options without any modal or button!