UNPKG

esri-loader

Version:

A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications

17 lines (16 loc) 517 B
export declare function parseVersion(version: any): "next" | { major: number; minor: number; }; /** * Get the CDN url for a given version * * @param version Ex: '4.25' or '3.42'. Defaults to the latest 4.x version. */ export declare function getCdnUrl(version?: string): string; /** * Get the CDN url for a the CSS for a given version and/or theme * * @param version Ex: '4.25', '3.42', or 'next'. Defaults to the latest 4.x version. */ export declare function getCdnCssUrl(version?: string): string;