What this does
Build a URL from its scheme, host, path segments, query parameters and fragment, or import an existing absolute URL to edit its parts. The result updates as fields change.
Example
Host: api.example.com
Path: v1/users/42
Query: q=hello world
URL: https://api.example.com/v1/users/42?q=hello%20worldLimits and behavior
- Path segments, query names and values are encoded separately.
- Only absolute URLs with a supported scheme can be imported.