swup
Version:
Versatile and extensible page transition library for server-rendered websites
15 lines • 539 B
TypeScript
import type Swup from '../Swup.js';
/**
* Utility function to validate and run the global option 'resolveUrl'
* @param {string} url
* @returns {string} the resolved url
*/
export declare function resolveUrl(this: Swup, url: string): string;
/**
* Compares the resolved version of two paths and returns true if they are the same
* @param {string} url1
* @param {string} url2
* @returns {boolean}
*/
export declare function isSameResolvedUrl(this: Swup, url1: string, url2: string): boolean;
//# sourceMappingURL=resolveUrl.d.ts.map