@yamachu/types-hybridwebview
v2.0.0
Published
unofficial .NET MAUI HybridWebView types package
Readme
@yamachu/types-hybridwebview
Unofficial .NET MAUI HybridWebView type definitions.
Installation
$ npm install @yamachu/types-hybridwebviewUsage
To use the latest version of the HybridWebView types:
/// <reference types="@yamachu/types-hybridwebview" />
window.HybridWebView.postMessage("Hello from myscript.ts");If you want to use specific versioned HybridWebView types, you can do so like this:
/// <reference types="@yamachu/types-hybridwebview" />
interface Window {
HybridWebView: HybridWebView9_0.HybridWebView; // e.g. `HybridWebView9_0` is namespace, you can find these definitions in ./src/*.d.ts
}
window.HybridWebView.postMessage("Hello from myscript.ts");Contributing
If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
