Floating primary action or expandable action group.
| Prop | Type | Default | Meaning |
|---|---|---|---|
items | TxEntry[] | undefined | [] | Entries; replaced by dataSource when bound. |
dataSource | TxSource<TxEntry> | undefined | undefined | List, configuration or DataSource instance; takes precedence over items. |
disabled | boolean | undefined | false | Disables interaction. |
label | string | undefined | undefined | Label or accessible name. |
icon | string | undefined | + | Action icon. |
position | string | undefined | bottom-right | Position of the notification or overlay. |
Events
| Event | Payload / behavior |
|---|---|
| itemClick | { itemData } |
<script setup lang="ts">
import { ref } from 'vue'
import { TxFloatingActionButton } from '@tekocloud.de/tecexpress'
import '@tekocloud.de/tecexpress/themes/index.css'
const saved = ref(false)
</script>
<template>
<TxFloatingActionButton :items="[{ text: 'Add' }]" @item-click="saved = true" />
</template>