mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
feat: adds event handler to IHasWebView
This commit is contained in:
@@ -11,5 +11,16 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||||||
bool WebviewIsVisible { get; }
|
bool WebviewIsVisible { get; }
|
||||||
void ShowWebView(string url, string mode, string title, string target);
|
void ShowWebView(string url, string mode, string title, string target);
|
||||||
void HideWebView();
|
void HideWebView();
|
||||||
|
event EventHandler<WebViewStatusChangedEventArgs> WebViewStatusChanged;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class WebViewStatusChangedEventArgs : EventArgs
|
||||||
|
{
|
||||||
|
public string Status { get; }
|
||||||
|
|
||||||
|
public WebViewStatusChangedEventArgs(string status)
|
||||||
|
{
|
||||||
|
Status = status;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user