---
id: fast-foundation.designsystem.withelementdisambiguation
title: DesignSystem.withElementDisambiguation() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [DesignSystem](./fast-foundation.designsystem.md) &gt; [withElementDisambiguation](./fast-foundation.designsystem.withelementdisambiguation.md)

## DesignSystem.withElementDisambiguation() method

Provides a custom callback capable of resolving scenarios where two different elements request the same element name.

<b>Signature:</b>

```typescript
withElementDisambiguation(callback: ElementDisambiguationCallback): DesignSystem;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  callback | [ElementDisambiguationCallback](./fast-foundation.elementdisambiguationcallback.md) | The disambiguation callback. |

<b>Returns:</b>

[DesignSystem](./fast-foundation.designsystem.md)
