kdt-toolkit
Advanced tools
Comparing version 0.0.2 to 0.0.3
11
index.js
@@ -1,5 +0,5 @@ | ||
var s = Object.defineProperty; | ||
var c = (e, t, n) => t in e ? s(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; | ||
var r = Object.defineProperty; | ||
var c = (e, t, n) => t in e ? r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; | ||
var o = (e, t, n) => (c(e, typeof t != "symbol" ? t + "" : t, n), n); | ||
function l(e, t) { | ||
function u(e, t) { | ||
e.style.backgroundColor = t; | ||
@@ -18,3 +18,3 @@ } | ||
handleClickBadge(n) { | ||
const r = n.target.getAttribute("count"), i = Number(r); | ||
const s = n.target.getAttribute("count"), i = Number(s); | ||
this.setAttribute("count", i + 1), this.count = i + 1, this.el.innerHTML = this.render(), this.shadowRoot.replaceChildren(this.el.content.cloneNode(!0)); | ||
@@ -70,6 +70,5 @@ } | ||
} | ||
const d = l; | ||
export { | ||
a as MyBadge, | ||
d as changeBackgroundColor | ||
u as default | ||
}; |
@@ -1,1 +0,1 @@ | ||
{"name":"kdt-toolkit","version":"0.0.2","description":"publish 연습","private":false,"author":"","type":"module","module":"index.js","scripts":{"dev":"vite","build":"vite build && node copyFile.js","publishing":"npm run build && cd ./dist && npm publish --access=public"},"keywords":[],"license":"ISC","devDependencies":{"@types/node":"^20.11.20","vite":"^5.1.4"}} | ||
{"name":"kdt-toolkit","version":"0.0.3","description":"publish 연습","private":false,"author":"","type":"module","module":"index.js","scripts":{"dev":"vite","build":"vite build && node copyFile.js","publishing":"npm run build && cd ./dist && npm publish --access=public"},"keywords":[],"license":"ISC","devDependencies":{"@types/node":"^20.11.20","vite":"^5.1.4"}} |
2767
70