Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
npm install fl-popup -D
yarn fl-popup -D
import $popup from 'fl-popup'
$popup.toast(data)
data:
类型: object
或者 string
或者 html片段
字段:
content
类型:string或者HTML片段
必填: ❎
说明:如果data传入object类型则必须传入content字段
data:
类型: object
字段:
title
类型:string或者HTML片段
必填: ❎
说明:弹框标题
content
类型:string或者HTML片段
必填: ✅
说明:弹框内容
button
类型:string或者HTML片段
必填: ✅
说明:弹框按钮内容
callback
类型:function
必填: ✅
说明:按钮点击消失后回调
data:
类型: object
字段:
title
类型:string或者HTML片段
必填: ❎
说明:弹框标题
content
类型:string或者HTML片段
必填: ✅
说明:弹框内容
button
类型:length为2的Array,[String,String]
必填: ✅
说明:弹框按钮内容 如['确定','取消']
callback
类型:length为2的Array,[Function,Function]
必填: ✅
说明:按钮点击消失后回调,如[()=>{},()=>{}]
FAQs
原生js移动端提示弹框
The npm package fl-popup receives a total of 0 weekly downloads. As such, fl-popup popularity was classified as not popular.
We found that fl-popup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.