Merge pull request #1238 from PepperDash/webview-eventhandler

This commit is contained in:
Andrew Welker 2025-04-02 07:49:37 -05:00 committed by GitHub
commit 157ef3397f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,5 +11,16 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
bool WebviewIsVisible { get; }
void ShowWebView(string url, string mode, string title, string target);
void HideWebView();
event EventHandler<WebViewStatusChangedEventArgs> WebViewStatusChanged;
}
public class WebViewStatusChangedEventArgs : EventArgs
{
public string Status { get; }
public WebViewStatusChangedEventArgs(string status)
{
Status = status;
}
}
}