import { computed, ref } from "vue"; import { getId } from "../handlers.js"; const html = (v) => { return v[0] }; export default { props: ["icon", "text", "withshortkey"], setup(props) { const el = ref(null); const suffix = computed(() => props.withshortkey ? ` (${getId(el.value)})`: ""); return { suffix, el } }, template: html`