File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,25 @@ it must run the following steps:
271
271
272
272
Note: It is up to the user agent to select a appropriate {{WorkletGlobalScope}} to invoke the method in.
273
273
274
+ Rendering Worklet {#rendering-worklet}
275
+ --------------------------------------
276
+
277
+ The {{renderWorklet}} attribute allows access to the {{Worklet}} responsible for all the classes
278
+ which are related to rendering.
279
+
280
+ <pre class='idl'>
281
+ partial interface Window {
282
+ [SameObject] readonly attribute Worklet renderWorklet;
283
+ };
284
+ </pre>
285
+
286
+ The {{RenderWorkletGlobalScope}} is the global execution context of the {{renderWorklet}} .
287
+
288
+ <pre class='idl'>
289
+ interface RenderWorkletGlobalScope : WorkletGlobalScope {
290
+ };
291
+ </pre>
292
+
274
293
Examples {#examples}
275
294
====================
276
295
You can’t perform that action at this time.
0 commit comments