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.
@belleui/belle-modal
Advanced tools
npm install @belleui/belle-modal
<belle-modal
title="Basic Modal"
.visible="${false}"
@onOk=${handleOk}
@onCancel=${handleCancel}
>
<div style="width: 500px;">
<p>弹窗的内容</p>
<p>弹窗的内容</p>
<p>弹窗的内容</p>
<p>弹窗的内容</p>
<p>...</p>
</div>
</belle-modal>
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
cancelText | cancelText | string | "取消" | 取消按钮文字 |
closable | closable | boolean | true | 是否显示右上角关闭按钮 |
footer | footer | TemplateResult | null | "" | 自定义footer,为null时不显示footer |
maskClosable | maskClosable | boolean | true | 是否允许点击蒙层关闭 |
modalMask | HTMLElement | |||
okText | okText | string | "确认" | 确认按钮文字 |
title | title | string | "" | 弹窗标题 |
visible | visible | boolean | false | 是否显示弹窗 |
Method | Type |
---|---|
handleCancel | (): void |
handleOk | (): void |
Event | Description |
---|---|
onCancel | 点击确定的回调函数 |
onOk | 关闭弹窗和点击取消的回调函数 |
FAQs
[](#belleuibelle-modal)
We found that @belleui/belle-modal 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.