New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

api-toast

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-toast - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "api-toast",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

用法:
npm i --save-dev api-toast
在项目主文件(如main.js)中引入:
然后在项目主文件(如main.js)中引入:
import api from "api-toast";
window.api=api;
大功告成!任何地方可以使用语法:
大功告成!任何地方可以使用语法:
api.toast("message",3000);弹出仿APP的提示信息。
PS:webpack必须配置有css-loader跟style-loader。

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc