Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@esri/configurable-app-components

Package Overview
Dependencies
Maintainers
19
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esri/configurable-app-components

"Custom 4.x widgets built with the ArcGIS API for JavaScript."

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
100
increased by400%
Maintainers
19
Weekly downloads
 
Created
Source

Configurable App Components

npm version

Custom 4.x widgets built with the ArcGIS API for JavaScript.

Components

Each component directory contains general instructions on how to use the corresponding component.

  1. Info: Panel that displays customized string content in a list or paragraph form (Sample App).

  2. Screenshot: Tool which provides the capability of taking screenshots of the map view/scene view. Optionally, include the legend or pop-up with the map screenshot (Sample App).

  3. Share: Dialogue that provides the capability of sharing a web application of the current map extent across customized social sharing platforms i.e. Facebook, Twitter, LinkedIn, or E-mail (Sample App).

Requirements

  • ArcGIS API for JavaScript 4.x
  • Node
  • Web browser with access to the Internet
  • Your favorite IDE

Install via npm

npm i @esri/configurable-app-components

Typings

Include in tsconfig.json ./node_modules/@esri/configurable-app-components/index.d.ts

Dojo config example

  const config = {
    async: true,
    locale: dojoLocale,
    packages: [
      {
        name: "Components",
        location: `${appPath}/node_modules/@esri/configurable-app-components`
      }
    ]
  };

Importing module into project

Naming convention: Components/[component_name]/[component_name]

Import Example

import Share = require("Components/Share/Share");

Adding CSS

Don't forget to link to corresponding CSS file. ./node_modules/@esri/configurable-app-components/[component_name]/[component_name]/css/[component_name].css

<link rel="stylesheet"
    href="./node_modules/@esri/configurable-app-components/Screenshot/Screenshot/css/Screenshot.css">

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2019 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.

FAQs

Package last updated on 18 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc