Skip to content

esridc/hub-components-archive

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

Built With Stencil

ArcGIS Hub Web Components

Live Demo

Use

  1. Register a new application.
  2. copy the <script> tag and <html> below into your existing website
<script src='https://unpkg.com/@esri/hub-components@0.0.1/dist/arcgishub.js'></script>
<hub-follow-initiative
  clientid="[insert]"
  initiativeid="dda4e76677604838bf5718eda40b1cc0"
  orgurl="https://cityx.maps.arcgis.com">
</hub-follow-initiative>
<hub-event-details
  clientid="[insert your clientid here]"
  eventtitle="Project Groundbreaking"
  orgurl="https://cityx.maps.arcgis.com">
</hub-event-details>

demo

Browser Support

  • Chrome
  • Safari
  • Firefox
  • Edge
  • IE11

Custom Development

Clone this repo to a new directory:

git clone https://github.com/esridc/hub-components.git
cd hub-components

and run:

npm install && npm start

To build the component for production, run:

npm run build

To run the unit tests, run:

npm test

Stencil

This is a starter project for building a standalone Web Component using Stencil. Stencil is a compiler for building fast web apps using Web Components.

Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components.

Stencil components are just Web Components, so they work in any major framework or with no framework at all.

Need help? Check out the docs here.

About

Embeddable Web Components for ArcGIS Hub

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published