<1 min read
SnippetConfigExtraParams
SnippetConfigExtraParams
Props
Name | Description | Type | Default |
---|---|---|---|
values | Dictionary |
| |
excludedExtraParams | Array | (): Array |
See it in action
See how the snippet config is injected and passed to the SnippetConfigExtraParams component.
<template>
<Provider>
<SnippetConfigExtraParams />
</Provider>
</template>
<script>
import { SnippetConfigExtraParams } from '@empathyco/x-components/extra-params';
const Provider = {
provide: {
snippetConfig: {
instance: 'demo',
lang: 'es',
warehouse: 1234
}
}
};
export default {
name: 'SnippetConfigExtraParamsDemo',
components: {
Provider,
SnippetConfigExtraParams
}
};
</script>