Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 954 Bytes

README.md

File metadata and controls

38 lines (32 loc) · 954 Bytes

Widget Opacity Mixin for ArcGIS WebApp Builder (AWAB)

This DOJO Mixin will add a Widget Opacity Slider to the title bar of an in-panel AWAB Widget. demo

Installation:

  • Clone or download the repo
  • Move the _WidgetOpacityMixin folder to the widget folder of a downloaded AWAB application on your web server
  • Add the mixin to an in-panel widget. For example, the Measurement Widget would look like this:
  define([
    'dojo/_base/declare',
    .
    .
    .
    'widgets/_WidgetOpacityMixin/widget'
  ],
  function(
    declare,
    .
    .
    .
    _WidgetOpacityMixin
  ) {
    var clazz = declare([BaseWidget, _WidgetsInTemplateMixin, _WidgetOpacityMixin], {
      etc.
    })
  )
  • Enjoy!

Customize:

  • Use the _WidgetOpacityMixin\config.json file to customize the minimum and maximum opacity and the resize delay

Change log:

  • 6/2/2014
    1. Initial post.