响应式通知插件 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

Inside the C++ Object Model

Inside the C++ Object Model

Stanley B. Lippman / Addison-Wesley Professional / 1996-5-13 / USD 64.99

Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritanc......一起来看看 《Inside the C++ Object Model》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器