Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
hn-kanbanboard-npm
Advanced tools
Readme
JavaScript library help you to build and manage a Kanban Board easily in your project, no jQuery required
https://hasannaser.github.io/HN-kanbanboard/index.html
Install via command line using npm
.
npm install hn-kanbanboard-npm
Or
Clone the repo and use the javascript and the css files in the dist
folder.
include css file
<link rel="stylesheet" href="../dist/hn_kanbanboard.css">
include js file
<script src="../dist/hn_kanbanboard.js"></script>
<div id="myDiv">
</div>
let cards_ = [
{"board_id": "1", "card_id": "1", "card_title": "Hello People" },
{"board_id": "2", "card_id": "2", "card_title": "Hello People" },
{"board_id": "3", "card_id": "4", "card_title": "Hello People"},
];
var knbn = HN_kanbanTable({
container: "#myDiv",
lists: [{"id": "1", "title": "Todo"}, {"id": "2", "title": "Doing"}, {"id": "3", "title": "Done"}],
cards: cards_,
onCardAdd: function (data) {
//data.boardId,
//data.title,
console.info(data);
},
onCardDrgStart: function (evt) {
//evt.currentList :current list
//evt.cardSelf :card element
console.info(evt)
},
onCardDrgEnd: function (evt) {
//evt.listTo : target list
//evt.boardFrom : previous list
//evt.oldIndex : element's old index within old parent
//evt.newInde : element's new index within new parent
//evt.cardSelf : card element
console.info(evt)
},
onCardSortChange: function (evt) {
//evt.currentList :current list
//evt.oldIndex : element's old index within old parent
//evt.newInde : element's new index within new parent
//evt.cardSelf : card element
console.info(evt)
},
onCardClick: function (data) {
//data.title,
//data.currentListId,
//data.currentList,
console.info(data);
}
});
knbn.init();
hn-kanbanboard use sortablejs for drag&drop
hn-kanbanboard is OpenSource and licensed under the Terms of Mozilla Public License 2.0. You're welcome to contribute
FAQs
JavaScript library help you to build and manage a Kanban Board easily in your project, (no jQuery required)
The npm package hn-kanbanboard-npm receives a total of 0 weekly downloads. As such, hn-kanbanboard-npm popularity was classified as not popular.
We found that hn-kanbanboard-npm 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.