Route to a Popup with a parameter

Dear All,

Is there any way to handle in Framework7 (besides self programming) a parametrized path to a Popup in routes?

Example entry in routing array:
{
name: ‘view’,
path: “invoice/view:id”,
popup: {
content: getvInvoiceViewPopupContent( id //how to extract the ID value?? );

    }

},
the content of the Popup is dynamically generated in JS based on the ID or whatever other parameters
I guess there is already a way in Framework7 to handle such situation?

Thank you for help in advance
Paolo