@esri/instant-apps-components
v1.0.0-beta.304
Published
Reusable ArcGIS Instant Apps web components.
Downloads
1,425
Maintainers
Keywords
Readme
Instant Apps Components
Instant Apps Components, is a library of Web Components (Custom Elements) built with StencilJS, with the purpose of being utilized by ArcGIS Instant Apps. Web Components are browser-compatible elements, use native browser APIs, resuable, and contain encapsulated functionality. Instant Apps Components use Calcite Components, the ArcGIS API for JavaScript, and additional functionality that can be easily implemented into your web map applications. While this library of web components are intended for being used in ArcGIS Instant Apps, these components can be used in any web map application, without being tied to a particular library or framework.
Setting up the components in your project:
Managing assets:
In order for the library to work properly, you'll need to copy the assets to the root of your project.
For example:
ncp node_modules/@esri/instant-apps-components/dist/assets public/assets
Importing the components:
In your entry file (index.ts), simply import the component(s) into your project.
For example:
import "@esri/instant-apps-components/dist/components/instant-apps-header";
import "@esri/instant-apps-components/dist/components/instant-apps-social-share";
Contributing
We welcome contributions to this project. See CONTRIBUTING.md for an overview of contribution guidelines.
License
COPYRIGHT © 2024 Esri
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA
email: [email protected]