UNPKG

images-viewer-vue3

Version:
28 lines (27 loc) 825 B
import { mergeModels as o, useModel as s, openBlock as a, createElementBlock as r, normalizeClass as i, createElementVNode as c, toDisplayString as l } from "vue"; /* empty css */ import n from "../_virtual/_plugin-vue_export-helper.js"; const p = { class: "item-key" }, y = { __name: "HotKeys", props: /* @__PURE__ */ o({ isActiveKey: { type: Boolean, default: () => !1 } }, { hotkey: { type: String, default: "Ctrl+S" }, hotkeyModifiers: {} }), emits: ["update:hotkey"], setup(e) { const t = s(e, "hotkey"); return (m, _) => (a(), r("div", { class: i(["hotkey-tip__wrap", { "is-active_key": e.isActiveKey }]) }, [ c("p", p, l(t.value), 1) ], 2)); } }, u = /* @__PURE__ */ n(y, [["__scopeId", "data-v-f9972721"]]); export { u as default };