Legend

Example Config Object

legend: {
    include: true,
    id: 'legend',
    type: 'titlePane',
    path: 'esri/dijit/Legend',
    title: 'Legend',
    open: false,
    position: 0,
    options: {
        map: true,
        legendLayerInfos: true
    }
},