esri-loader
- Version 3.7.0
- Published
- 104 kB
- No dependencies
- Apache-2.0 license
Install
npm i esri-loaderyarn add esri-loaderpnpm add esri-loaderOverview
A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications
Index
Variables
variable utils
const utils: { Promise: PromiseConstructor };Functions
function getScript
getScript: () => HTMLScriptElement;function isLoaded
isLoaded: () => any;function loadCss
loadCss: (urlOrVersion?: string, before?: string) => HTMLLinkElement;function loadModules
loadModules: <T extends any[] = any[]>( modules: string[], loadScriptOptions?: ILoadScriptOptions) => Promise<T>;function loadScript
loadScript: (options?: ILoadScriptOptions) => Promise<HTMLScriptElement>;function setDefaultOptions
setDefaultOptions: (options?: ILoadScriptOptions) => void;Interfaces
interface ILoadScriptOptions
interface ILoadScriptOptions {}property css
css?: string | boolean;property insertCssBefore
insertCssBefore?: string;property url
url?: string;property version
version?: string;Package Files (5)
Dependencies (0)
No dependencies.
Dev Dependencies (17)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/esri-loader.
- Markdown[](https://www.jsdocs.io/package/esri-loader)
- HTML<a href="https://www.jsdocs.io/package/esri-loader"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4336 ms. - Missing or incorrect documentation? Open an issue for this package.
