UNPKG

@digitalpersona/core

Version:
33 lines (20 loc) 978 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [Url](./core.url.md) ## Url class Provides a way to construct sanitized URLs from a base URL, a path and a query object <b>Signature:</b> ```typescript export declare class Url ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(base, path, query)](./core.url.(constructor).md) | | Constructs an URL object from a base URL, a path and a query object. | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [href](./core.url.href.md) | | <code>string</code> | Hyperlink reference | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [create(base, path, query)](./core.url.create.md) | <code>static</code> | Constructs an URL string from a base URL, a path and a query object. |