Skip to content

Commit

Permalink
module: document parentURL in register options
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Dec 4, 2023
1 parent 951d00d commit 03fba68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ changes:
URL, such as `import.meta.url`, you can pass that URL here. **Default:**
`'data:'`
* `options` {Object}
* `parentURL` {string|URL} If you want to resolve `specifier` relative to a
base URL, such as `import.meta.url`, you can pass that URL here. This
property is ignored if the `parentURL` is supplied in the second parameter.
**Default:** `'data:'`
* `data` {any} Any arbitrary, cloneable JavaScript value to pass into the
[`initialize`][] hook.
* `transferList` {Object\[]} [transferrable objects][] to be passed into the
Expand Down

0 comments on commit 03fba68

Please sign in to comment.