@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
28 lines (27 loc) • 837 B
JavaScript
import n from "./color-alpha.vue2.mjs";
import { openBlock as o, createElementBlock as t, normalizeClass as r, createElementVNode as a, normalizeStyle as l } from "vue";
import i from "../../_virtual/_plugin-vue_export-helper.mjs";
function s(e, p, c, d, m, f) {
return o(), t("div", {
ref: "wrapper",
class: r(e.nh.be("alpha")),
tabindex: "-1",
role: "group"
}, [
a("div", {
class: r(e.nh.be("opacity")),
style: l({
backgroundImage: `linear-gradient(to right, rgba(${e.rgbString}, 0) 0%, rgb(${e.rgbString}) 100%)`
})
}, null, 6),
a("div", {
class: r(e.nh.be("alpha-handler")),
style: l({ left: `${e.currentLeft}%` })
}, null, 6)
], 2);
}
const u = /* @__PURE__ */ i(n, [["render", s]]);
export {
u as default
};
//# sourceMappingURL=color-alpha.vue.mjs.map