---
id: fast-element.attributedefinition._constructor_
title: AttributeDefinition.(constructor)
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [AttributeDefinition](./fast-element.attributedefinition.md) &gt; [(constructor)](./fast-element.attributedefinition._constructor_.md)

## AttributeDefinition.(constructor)

Creates an instance of AttributeDefinition.

<b>Signature:</b>

```typescript
constructor(Owner: Function, name: string, attribute?: string, mode?: AttributeMode, converter?: ValueConverter);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  Owner | Function | The class constructor that owns this attribute. |
|  name | string | The name of the property associated with the attribute. |
|  attribute | string | The name of the attribute in HTML. |
|  mode | [AttributeMode](./fast-element.attributemode.md) | The [AttributeMode](./fast-element.attributemode.md) that describes the behavior of this attribute. |
|  converter | [ValueConverter](./fast-element.valueconverter.md) | A [ValueConverter](./fast-element.valueconverter.md) that integrates with the property getter/setter to convert values to and from a DOM string. |
