[英]PopUp in React.js with a link
I do a project by buildspace( https://buildspace.so ) and I want make a popup which include a link to my NFT Collection.我通过 buildspace ( https://buildspace.so ) 做了一个项目,我想制作一个弹出窗口,其中包含指向我的 NFT 集合的链接。 I want do it when the a button pressed.
我想在按下按钮时这样做。 Can I add two onclick event?
我可以添加两个 onclick 事件吗? and if yes how?
如果是的话怎么办? Please help me!
请帮我!
Thanks for your help: Ps: sorry for my typos感谢您的帮助:Ps:抱歉我的错别字
You don't need two onClick events, just make a function that do both things, or make two functions and call it in the onClick handler您不需要两个 onClick 事件,只需创建一个 function 即可完成这两项操作,或者创建两个函数并在 onClick 处理程序中调用它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.