[SalesForce] How to replace window.open() in lightning

I am writing one lightning component for JavaScript button. Can you please tell me how can we replace below code blocks in lightning?

window.open('test.html', 'formresult', 'scrollbars=yes, menubar=no, height=700, width=1250, resizable=yes, toolbar=no, status=no');

form.submit();

Best Answer

Related Topic