响应式通知插件 Notyf

码农软件 · 软件分类 · 网页组件 · 2019-04-08 21:44:12

软件介绍

Notyf 是一个超级简单的,响应式,原生 javascript 插件,用来显示通知。

演示

安装

安装 npm 包:

npm install --save notyf

添加至项目:

<html>
  <head>
    ...
    <link rel="stylesheet" type="text/css" href="/path/to/notyf.min.css">
  </head>
  <body>
    ...    <script src="/path/to/notyf.min.js" type="text/javascript"></script>
  </body>
</html>

使用

//Create an instance of Notyf
var notyf = new Notyf();

//Display an alert notification
notyf.alert('You must fill out the form before moving forward');

//Display a success notification
notyf.confirm('Your changes have been successfully saved!');

本文地址:https://codercto.com/soft/d/3163.html

The Hard Thing About Hard Things

The Hard Thing About Hard Things

Ben Horowitz / HarperBusiness / 2014-3-4 / USD 29.99

Ben Horowitz, cofounder of Andreessen Horowitz and one of Silicon Valley's most respected and experienced entrepreneurs, offers essential advice on building and running a startup—practical wisdom for ......一起来看看 《The Hard Thing About Hard Things》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

html转js在线工具
html转js在线工具

html转js在线工具