@empathyco/x-components
Version:
Empathy X Components
39 lines (26 loc) • 870 B
Markdown
title: ExtraParams
# ExtraParams
It emits a ExtraParamsXEvents.ExtraParamsProvided with the values
received as a prop.
## Props
| Name | Description | Type | Default |
| ------------------- | ----------- | -------------------------------- | ------------- |
| <code>values</code> | | <code>Dictionary<unknown></code> | <code></code> |
## Events
- [`ExtraParamsProvided`](https://github.com/empathyco/x/blob/main/packages/x-components/src/wiring/events.types.ts)
## See it in action
_See how the event is triggered when the component is rendered._
```vue
<template>
<ExtraParams :values="values" />
</template>
<script setup>
import { ExtraParams } from "@empathyco/x-components/extra-params";
import { reactive } from "vue";
const values = reactive({
warehouse: 1234,
});
</script>
```