There is "ShowLegend" property in JS API 3.2 and it doesn't exist in 4.3. Is there an alternative property which does the same job?
The 4.x LayerList does not have a legend portion to it currently. So there is no showLegend option.
esri/dijit/LayerList
LayerList | API Reference | ArcGIS API for JavaScript 3.20
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.