Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soenneker/soenneker.blazor.utils.interopeventlistener
Manages the registration, removal, and disposal of .NET object references used for interop event listeners.
https://github.com/soenneker/soenneker.blazor.utils.interopeventlistener
blazor csharp dotnet event interop interopeventlistener invoke javascript listening util utils
Last synced: about 3 hours ago
JSON representation
Manages the registration, removal, and disposal of .NET object references used for interop event listeners.
- Host: GitHub
- URL: https://github.com/soenneker/soenneker.blazor.utils.interopeventlistener
- Owner: soenneker
- License: mit
- Created: 2024-01-13T15:41:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T09:51:34.000Z (3 months ago)
- Last Synced: 2024-10-29T11:53:12.227Z (3 months ago)
- Topics: blazor, csharp, dotnet, event, interop, interopeventlistener, invoke, javascript, listening, util, utils
- Language: C#
- Homepage: https://soenneker.com
- Size: 2.06 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![](https://img.shields.io/nuget/v/soenneker.blazor.utils.interopeventlistener.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.blazor.utils.interopeventlistener/)
[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.blazor.utils.interopeventlistener/publish-package.yml?style=for-the-badge)](https://github.com/soenneker/soenneker.blazor.utils.interopeventlistener/actions/workflows/publish-package.yml)
[![](https://img.shields.io/nuget/dt/soenneker.blazor.utils.interopeventlistener.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.blazor.utils.interopeventlistener/)# ![](https://user-images.githubusercontent.com/4441470/224455560-91ed3ee7-f510-4041-a8d2-3fc093025112.png) Soenneker.Blazor.Utils.InteropEventListener
### Manages the registration, removal, and disposal of .NET object references used for interop event listeners.Handles warnings for potential duplicate registrations and providing methods for cleanup. The class is equipped with asynchronous and synchronous disposal mechanisms, as well as methods for adding event listeners with generic callback functions.
## Installation
```
dotnet add package Soenneker.Blazor.Utils.InteropEventListener
```