How to trigger search method?

I’m trying to add a search icon to the top toolbar. This is it here. But I don’t know what to do when the tap it? how do I open the search slide in/method programmatically?

    type: 'actionButton',
    img: 'icon-header-search',
    onClick: () => 
        // how to manually trigger the search method/icon?

Thank you for contacting us about this. Just to get a better understanding of your use case, can you provide us with additional information as to what platform you are developing on? Is it WebViewer? If you could also provide us with screenshots of the output you desire, that would be most helpful.

Thank you.

Yes, sorry, its webviewer. Javascript only. Its this slide in from the margin. the actual search feature.

What javascript call/method can I trigger to do that manually/programmatically?


There are two APIs you can use to trigger the search.

I hope this helps. Please let us know if you still have any other questions.

Dandara Navarro