Identifier

Display a unique identifier element.

Usage

Here an identifier is utilised with the CClipboard component allowing the identifier to be copyable.

example-id
<script setup lang="ts">
const id = ref('example-id')
</script>

<template>
  <CClipboard
    :source="id"
    magic-key="Cmd_I"
  >
    <CIdentifier :id="id" />
  </CClipboard>
</template>

Props

idrequired
string