Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
javascript alert ui kit
import dependencies
<link rel="stylesheet" href="path/to/gm-alert.min.css" />
<script src="path/to/gm-alert.min.js"></script>
Notice that you should import js after window is onload otherwise you will get an error.
show alert with options:
option | type | description | default value |
---|---|---|---|
title | * | title of modal, but is Boolean(title) is false, title will not display | '' |
titleClassName | string | extra class name for title element | '' |
body | * | body of modal | '' |
bodyClassName | string | extra class name for body element | '' |
footerClassName | string | extra class name for footer element | '' |
okText | string | text of ok button | 'ok' |
onOK | function | callback when you click ok button | () => void 0 |
cancelText | string | text of cancel button | 'cancel' |
onCancel | function | callback when you click cancel button | window.hideAlert |
maskClosAble | boolean | call onCancel when click mask of modal | true |
hide alert
MIT
FAQs
javascript alert ui kit
The npm package gm-alert receives a total of 0 weekly downloads. As such, gm-alert popularity was classified as not popular.
We found that gm-alert 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.