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.
Multiple selection with just markup.
$ npm install elab
import 'elab/simple/simple.css' // or 'elab/material/material.css'
import 'elab/simple/simple.js' // or 'elab/material/material.js'
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/elab@0.3.0/simple/simple.css" />
<script src="https://cdn.jsdelivr.net/npm/elab@0.3.0/simple/simple.js"></script>
<!-- or
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/elab@0.3.0/material/material.css" />
<script src="https://cdn.jsdelivr.net/npm/elab@0.3.0/material/material.js"></script>
-->
<!-- 1. Load CSS and JS. -->
<link rel="stylesheet" href="elab/simple.css" />
<script src="elab/simple.js"></script>
<!-- 2. Place an element having "elab" class and `tabindex` attribute.
[Optional] Add "elab-wrap" class to apply word-wrap.
[Optional] Listen to "change" and "close" events using `addEventListener()` or `on-` attributes.
`event.detail.values` is an array having selected values. -->
<div
class="elab elab-wrap"
tabindex="0"
onchange="console.log(arguments[0].detail.values)"
onclose="console.log(arguments[0].detail.values)"
>
<ul>
<!-- 3. [Optional] Place an item having `data-selected-all` to indicate or toggle all items. -->
<li data-selected-all>All</li>
<!-- 4. Place items having `data-value` with `data-selected` or `data-disabled` as appropriate. -->
<li data-value="cupcake">Cupcake</li>
<li data-value="donut">Donut</li>
<li data-value="eclair" data-selected>Eclair</li>
<li data-value="froyo" data-disabled>Froyo</li>
<li data-value="gingerbread">Gingerbread</li>
<li data-value="honeycomb">Honeycomb</li>
<li data-value="ice" data-selected>Ice</li>
<!-- 5. [Optional] Place an item having `data-placeholder` at last to display the placeholder. -->
<li data-placeholder>Select...</li>
</ul>
<!-- 6. [Optional] Place an icon to indicate this is a dropdown, such as "▾". -->
<div style="padding: 0 0.5em;">▾</div>
</div>
FAQs
Multiple selection with just markup.
We found that elab 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.