
# IHTMLViewWithEvents interface

*No description yet.*

```csharp
public interface IHTMLViewWithEvents
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [SetOnJavascriptMessageReceived](#setonjavascriptmessagereceived) | `void` |  |
| [SetOnLoadingStateChanged](#setonloadingstatechanged) | `void` |  |
| [SetOnLocationChange](#setonlocationchange) | `void` |  |
| [SetOnResourceResponse](#setonresourceresponse) | `void` |  |

### SetOnJavascriptMessageReceived

*No description yet.*

```csharp
void SetOnJavascriptMessageReceived(IHTMLViewJavascriptMessageReceivedEvent argValue);
void SetOnJavascriptMessageReceived(object argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argValue` | [IHTMLViewJavascriptMessageReceivedEvent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IHTMLViewJavascriptMessageReceivedEvent.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IHTMLViewWithEventsHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### SetOnLoadingStateChanged

*No description yet.*

```csharp
void SetOnLoadingStateChanged(IHTMLViewLoadingStateChangedEvent argValue);
void SetOnLoadingStateChanged(object argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argValue` | [IHTMLViewLoadingStateChangedEvent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IHTMLViewLoadingStateChangedEvent.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IHTMLViewWithEventsHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### SetOnLocationChange

*No description yet.*

```csharp
void SetOnLocationChange(IHTMLViewLocationChangeEvent argValue);
void SetOnLocationChange(object argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argValue` | [IHTMLViewLocationChangeEvent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IHTMLViewLocationChangeEvent.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IHTMLViewWithEventsHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.

### SetOnResourceResponse

*No description yet.*

```csharp
void SetOnResourceResponse(IHTMLViewSetOnResourceResponseEvent argValue);
void SetOnResourceResponse(object argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argValue` | [IHTMLViewSetOnResourceResponseEvent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IHTMLViewSetOnResourceResponseEvent.md) | value |

**Returns:** nothing (`void`)

The first overload is an extension method of `IHTMLViewWithEventsHelper` (`using DXP;`) with typed parameters; the second is declared by the interface.
