
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
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.
The npm package bootstrap-expandable-input receives a total of 3 weekly downloads. As such, bootstrap-expandable-input popularity was classified as not popular.
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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.