I want to develop a legend using Table of Contents(TOC) Widget for ArcGIS JavaScript API in Legacy code.
I have tried its development by following the steps in the documentation of TOC Widget for ArcGIS JavaScript API but it seems that they are only for AMD code type. Also I haven't been able to find any example of this widget in Legacy code.
Does somebody know if it is possible? Is there any documentation about it?