feat: adds event handler to IHasWebView

This commit is contained in:
aknous
2025-04-01 23:54:49 -04:00
parent 8f278f4ec2
commit 16c39b5201

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;
}
}
}