Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
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 1 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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.