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.
bootstrap-expandable-input
Advanced tools
A Bootstrap plugin to use <{span|div|...} contenteditable> as expandable inputs.
A Bootstrap plugin to use <{span|div|...} contenteditable> as expandable inputs.
Simplest way to install is using bower:
bower install --save bootstrap-expandable-input
<!-- load bootstrap assets -->
<link rel="stylesheet" type="text/css" href="bootstrap.css">
<script src="bootstrap.js"></script>
<!-- load expandable-input assets -->
<link rel="stylesheet" type="text/css" href="bootstrap-expandable-input.css">
<script src="bootstrap-expandable-input.js"></script>
<!-- The behaviour is initialzied on first interaction -->
<p>
<strong>Author:</strong>
<span contenteditable name="name" placeholder="Joe Doe"></span> |
<span contenteditable name="email" placeholder="joe@example.com"></span>
</p>
<p contenteditable placeholder="Write comment"></p>
To listen to changes on the inputs
$('[name=email]').on('input', function(event) {
console.log('Current name is:', $(this).val())
})
$.fn.val()
& $.fn.select()
are being patched to work with the contenteditable
inputsdisplay: inline
is currently not supported. It gets set to inline-block when initialized.The Expandable Input Plugin have been authored by Gregor Martynus, proud member of Team Hoodie. If you feel like it, please support our work on Hoodie: gittip us!.
License: MIT
FAQs
A Bootstrap plugin to use <{span|div|...} contenteditable> as expandable inputs.
We found that bootstrap-expandable-input 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.