Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kellyhutchins/code-snippets-jsapi
Visual Studio Code snippets I created for common bits of JS, TypeScript, HTML and Css I use when building apps with the ArcGIS API for JavaScript
https://github.com/kellyhutchins/code-snippets-jsapi
esri-javascript-api snippets snippets-library visual-studio-code
Last synced: about 1 month ago
JSON representation
Visual Studio Code snippets I created for common bits of JS, TypeScript, HTML and Css I use when building apps with the ArcGIS API for JavaScript
- Host: GitHub
- URL: https://github.com/kellyhutchins/code-snippets-jsapi
- Owner: kellyhutchins
- License: apache-2.0
- Created: 2017-03-28T20:00:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T16:33:01.000Z (over 7 years ago)
- Last Synced: 2024-11-13T22:44:44.343Z (3 months ago)
- Topics: esri-javascript-api, snippets, snippets-library, visual-studio-code
- Homepage:
- Size: 8.79 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Code Snippets
Code snippets I created for common bits of JS, TypeScript, HTML and Css I use when building apps with the ArcGIS API for JavaScript.For more info on using Visual Studio Code Snippets check out the [VS Doc](https://code.visualstudio.com/docs/editor/userdefinedsnippets)
* json.json contains one snippet that creates a default tsconfig file.
* javascript.json contains two snippets one that adds in a simple require statement with the Map and Map View modules. The second creates a map.
* html.json contains two snippets one that adds the JSAPI script tag and css. The second is for use in the body and adds a view div.
* css.json contains one snippet that adds the css for a full page map
* typescript.json contains two snippets the first that creates a new map and the second that creates a new map using a web map.