SHARE
TWEET

Untitled

a guest Jun 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. define(['dojo/_base/declare', 'jimu/BaseWidget'],
  2. function(declare, BaseWidget) {
  3.   //To create a widget, you need to derive from BaseWidget.
  4.   return declare([BaseWidget], {
  5.     // Custom widget code goes here
  6.     baseClass: 'jimu-widget-mywidget'
  7.   });
  8. });
  9.      
  10. define(['dojo/_base/declare', 'widgets/Select/Widget'],
  11. function(declare, Select) {
  12.   //To create a widget, you need to derive from BaseWidget.
  13.   return declare([Select], {
  14.     baseClass: 'jimu-widget-selectlsa',
  15.     startup: function() {
  16.       this.inherited(arguments);
  17.       console.log("tesiting")
  18.     }  
  19.   });
  20. });
  21.      
  22. define(['dojo/_base/declare', 'widgets/Select/Widget','widgets/Select/SelectableLayerItem'],
  23. function(declare, Select, SelectableLayerItem) {
  24.   //To create a widget, you need to derive from BaseWidget.
  25.   return declare([Select, SelectableLayerItem], {
  26.     baseClass: 'jimu-widget-selectlsa',
  27.     startup: function() {
  28.       this.inherited(arguments);
  29.       console.log("tesiting")
  30.     },  
  31.     _showActions: function(){
  32.         //overwrite
  33.     }
  34.   });
  35. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top