Didn't get you? Can you explain this in flow? Are you initializing multiple kite publisher instances in the same app? I don't think a clear basket is needed here as you can use add() method to create a new entry to the basket, clearing the old one's. This documentation explains all available methods for publisher js.
Hi @rakeshr@sujith in publisher js there is no method available to clear the basket. we want to clear the basket its really help the user experience . If there is any alternative way to clear the basket without Re-Initialize the instance.
Are you initializing multiple kite publisher instances in the same app?
I don't think a clear basket is needed here as you can use
add()
method to create a new entry to the basket, clearing the old one's.This documentation explains all available methods for publisher js.