English 中文(简体)
2. 使用甲型六氯环己烷或甲型六氯环己烷
原标题:Use SweetAlert or SweetAlert2

谁能就我应该使用哪些 library光图书馆提出建议,为什么?

Im written up a node.js web-app and when do some research on which fancyert Library I can be used, I met over two of them that look to the same:SweetAlert<

问题回答

You should use SweetAlert2 as it s updated regularly.

https://stackoverflow.com/a/27842854/5601253> 摘自SetAlert2的创建者:

看来没有保存SetAlert再po。 没有任何答复的Pull请求中,最后一项合并的拉皮请求是2014年11月9日提出的。

我以超文本支持的方式创立了SetAlert2,并为定制化模式窗口提供了其他一些选择,这些选择包括: w、dding、Escutton行为等。

<<>strong>TLDR: 自Apr 2919以来,原有的SetAlert hasn t得到了更新,并且有。 新的SetAlert2的创建者表示,他们放弃增加一些新特点,从而造成Set Alerts2。

我们只是一个更清洁的版本。 与第一版相比,这些职能更容易使用,文件可提供更大的可用性。

如文件所示,在版本2中触发Swal使用Swal.fire而不是Swal

Swal.fire(
   Good job! ,
   You clicked the button! ,
   success 
)

Otherwise, there are many other customised ways to style each alert: https://sweetalert2.github.io/

在通过轮.升级记录后,建议使用轮.2,因为它易于使用、灵活和繁琐的新变化。

您可从这一链接读到:





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.