<1 min read

ExtraParams

ExtraParams

It emits a ExtraParamsXEvents.ExtraParamsProvided with the values received as a prop.

Props

Name Description Type Default
values (Required) A Dictionary where the keys are the extra param names and its values. Dictionary

Events

See it in action

See how the event is triggered when the component is rendered.

<template>
  <ExtraParams :values="values" />
</template>
<script>
  import { ExtraParams } from '@empathyco/x-components/extra-params';
  export default {
    name: 'ExtraParamsDemo',
    components: {
      ExtraParams
    },
    data() {
      return {
        values: {
          warehouse: 1234
        }
      };
    }
  };
</script>