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 6, 2023
1 parent ac9e594 commit 50b808e
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 as the second argument.
**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 50b808e

Please sign in to comment.