I have lightning component which I put into lightning page using App Builder. The component display table with field history tracking like in the Salesforce Classic. Also there is a button on component: "Go to all history records". If user clicks it, he must see new lightning page with ONLY my component (and also I must say to component, that it need to display, for example, 1000 records, and to say to it id of sobject, which history user were looked on previous page). All this stuff stored in attribute in component. So, I need to redirect to new page with only my component and set attributes, when user click button on page. I have read about this already:
var urlEvent = $A.get("e.force:navigateToURL");
urlEvent.setParams({
"url": someurl
});
urlEvent.fire();
But I don`t know, how to set parameters to component in new page. Please, help solve this problem.