* BroadcastChannel

This commit is contained in:
Michael Van Canneyt 2024-11-05 23:55:55 +01:00
parent 9f2392d4fd
commit f98aa26b63

View File

@ -1495,6 +1495,18 @@ type
Property actions : TTJSNotificationActionDynArray Read Factions;
end;
{ TJSBroadcastChannel }
TJSBroadcastChannel = class external name 'BroadcastChannel' (TJSEventTarget)
private
FName: string; external name 'name';
public
constructor new(aChannel : string);
procedure postMessage(aValue : JSValue);
procedure close;
property name : string Read FName;
end;
{ --------------------------------------------------------------------
TJSNotificationEvent
--------------------------------------------------------------------}