Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
knockout-dragdrop
Advanced tools
A drag and drop binding for Knockout.
npm install knockout-dragdrop
bower install knockout-dragdrop
Dragging between two lists:
<h2>Drag from here</h2>
<ul data-bind="foreach: source">
<li data-bind="text: $data, dragZone: { name: 'lists' }"></li>
</ul>
<h2>Drop here</h2>
<ul data-bind="foreach: target, dropZone: { accepts: 'lists', drop: drop }">
<li data-bind="text: $data"></li>
</ul>
var model = {
source: ko.observableArray([
'Declan',
'Tessa',
'Claire',
'Violet',
'Alice',
'Mia',
'Camille',
'Aiden'
]),
target: ko.observableArray(),
drop: function (data, model) {
model.source.remove(data);
model.target.push(data);
}
};
ko.applyBindings(model);
Run the following command:
npm install && bower install && serve
and open http://localhost:3000 in your browser.
Knockout.dragdrop is licensed under a standard 3-clause BSD license -- see the LICENSE
-file for details.
FAQs
A drag and drop binding for Knockout
The npm package knockout-dragdrop receives a total of 0 weekly downloads. As such, knockout-dragdrop popularity was classified as not popular.
We found that knockout-dragdrop demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.