t×tecexpressby TeKOcloud
ENv0.7.1
API & Datentypen / VUE

Item.

Menü-/Reitereintrag.

ts
interface Item {
  text: string
  icon?: string
  visible?: boolean
  disabled?: boolean
  id?: string | number
}
FeldBedeutung
textAnzuzeigender Text.
iconSymbol der Aktion.
visibleSteuert die Sichtbarkeit.
disabledSperrt die Interaktion.
idEindeutige stabile ID.
ts
import type { Item } from '@tekocloud.de/tecexpress'
const example: Item = { text: 'Home', id: 1 }
console.log(example)