mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 04:57:15 +00:00
feat: adds event handler to IHasWebView
This commit is contained in:
parent
8f278f4ec2
commit
16c39b5201
1 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue