Skip to content

useTypeDefault

Composable to get a specific type’s default configuration.

useTypeDefault(typeName: string): TypeDefault<TRow, TValue> | undefined
NameTypeDescription
typeNamestringThe type name to look up
<script setup>
import { useTypeDefault } from '@toolbox-web/grid-vue';
const countryDefault = useTypeDefault('country');
</script>
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt