You can install the svelte component with npm install @metagrid/svelte-metagrid-widget
. Under the hood, the svelte component uses the MetagridApi abstraction.
Import the svelte component into your project and pass it the required props.
provider=[string]
Your provider slugidentifier=[string]
The identifier for the person you want to query.includeDescription=[boolean]
Should we include additional description for the provider. Default = falselanguage=[enum]
The language of the provider name or the provider description. Valid values (de, fr, en, it). Default=de<script>
import MetagridWidget from '@metagrid/svelte-metagrid-widget';
</script>
<MetagridWidget identifier="5" provider="dodis" language="en" includeDescription="true" />
Need more info or found an error? Check out the Github project, open an issue, or send a pull request.