Re: [css-houdini-drafts] [worklets] What are the API-s exposed in Worklets?

It depends on the Worklet. Broadly speaking however:
 - All the JS Builtins. This includes Math.*, String.*, etc.
 - The registerSomething for that particular type of worklet.
 - The TypedOM.

This information isn't listed in the worklets, or paint specification, instead other specifications e.g. TypedOM (https://drafts.css-houdini.org/css-typed-om/#cssstylevalue) list Exposed=PaintWorklet to expose an API.

This *should* be listed in the MDN docs however when we get around to writing it.
https://developer.mozilla.org/en-US/docs/Web/API/Worklet

Was there something that you were looking for - but missing?

-- 
GitHub Notification of comment by bfgeek
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/737#issuecomment-376233727 using your GitHub account

Received on Monday, 26 March 2018 16:48:22 UTC