# HtmlElement.GetAttributes

Kind: Method  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.HtmlElement.GetAttributes.html

## GetAttributes() {#TinyComponents_HtmlElement_GetAttributes}

Represents the protected method which gets the attributes to be rendered.

```csharp
protected virtual IDictionary<string, object?> GetAttributes()
```

### Returns

[IDictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary\-2)<[string](https://learn.microsoft.com/dotnet/api/system.string), [object](https://learn.microsoft.com/dotnet/api/system.object)?\>
