mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-07 11:30:15 +02:00
* BroadcastChannel
This commit is contained in:
parent
9f2392d4fd
commit
f98aa26b63
@ -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
|
||||
--------------------------------------------------------------------}
|
||||
|
Loading…
Reference in New Issue
Block a user