is there a way to subclass the popup dijit?

479
3
08-18-2014 06:44 PM
HaroldBostic
Occasional Contributor II

Just like the infowindow base example, is there something similar for the popup dijit?

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Harold,

   The PopupTemplate has a setContent function just like the InfowWindowBase so you can do the same thing the InfoWindowBase sample does. Look at this sample to see the PopupTemplate used:

Popup with related fields | ArcGIS API for JavaScript

0 Kudos
HaroldBostic
Occasional Contributor II

I have a heavily modified infowwindow, just wanted to have the setFeatures and feature Navigation done for me.  Not much effort to implement, but I re-use when I can.  AN example of my infowindow is attached: the arrows on the left allow you to navigate to views on the right.  If this can be done with setContent, I'd like to see a detailed example.  It's been straightforward subclassing InfowindowbaseFeature Window Example.png

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Harold,

   Sorry I don't have a detailed example of that or a sample to point you to.

0 Kudos