How to add Icon in searchWidget

114
0
12-22-2021 07:03 PM
altair
by
New Contributor III

I just want to add an icon in my searchWidget but i dont know how to 

 

just like this 

 

altair_0-1640228534141.png

 

const searchWidget = new Search({
        includeDefaultSources: false,
        view: view,
      });
 
view.ui.add(searchWidget, { position: 'top-left', index: 0 });
 
the current design is
 
altair_1-1640228627716.png

 

0 Kudos
0 Replies