Browse Source

* Add arrayBuffer to Blob

michael 5 years ago
parent
commit
ed92652785
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/rtl/web.pas

+ 1 - 0
packages/rtl/web.pas

@@ -2384,6 +2384,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
     function slice(aStart : NativeInt) : TJSBlob; overload;
     function slice(aStart,aEnd : NativeInt) : TJSBlob; overload;
     function slice(aStart,aEnd : NativeInt; AContentType : String) : TJSBlob; overload;
+    function arrayBuffer : TJSPromise;
     property size : NativeInt read FSize;
     property _type : string read FType;
   end;