AnsweredAssumed Answered

Customize LayerList (4.x) "Render" & "_renderItem" methods

Question asked by straatvark on Jul 2, 2017
Latest reply on Jul 11, 2017 by straatvark

Hi, 

 

I might want/need to add some functionality into the default LayerList Widget - the typescript (*.tsx file) is available here:

https://github.com/Esri/arcgis-js-api/blob/4master/widgets/LayerList.tsx

 

The thing is that the typings for LayerListViewModel, ListItem etc is not available (only *.js files) 

 

TypeScript not my forte, so I throw questions out here:

  • What would be the technical process of creating placeholders for this missing types? (If possible at all) Even if the typing checks can be disable.
  • Is there any licence issues/limitations to do the above?

 

Is this a cul-de-sac - should I rather develop from scratch? ..last resort..

 

Much appreciated! 

Outcomes