function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sunil kumar MahamkaliSunil kumar Mahamkali 

unable to navigate to component using e.force:navigateToComponent

i am trying to populate componentB in new tab onclick of a button from componentA using e.force:navigateToComponent  unable to navigate ?????  ANY ideas on this .

js
----
navigateToComponents: function(component, event, helper) {
        var evt = $A.get("e.force:navigateToComponent");
        evt.setParams({
            componentDef : "c:SPC_Support",
            componentAttributes: {
            }
        });
        evt.fire();
    } 

componentA
-------
 <lightning:button variant="base" label="Support" onclick="{!c.navigateToComponents}" />

componentB
-----
<div > header<div>
<div>body<div>

any idea please help me in navigating to new component in a new browser tab?????????
Lokesh KumarLokesh Kumar
Do you want to open a new component in the new browser tab on the click of a button from another component?
Sunil kumar MahamkaliSunil kumar Mahamkali
yes i need to open component in new browser tab @lokesh kumar