Resolves the :parameter tokens in a URL pattern using the given parameter values.
:parameter
A URL pattern where parameters are written as :name (e.g. /section/:id/edit).
:name
/section/:id/edit
Key value object, where keys are parameter names and values are the values to replace them with.
The pattern with its parameter tokens replaced.
umbUrlPatternToString('/section/:id/edit', { id: 123 }); // '/section/123/edit' Copy
umbUrlPatternToString('/section/:id/edit', { id: 123 }); // '/section/123/edit'
Resolves the
:parametertokens in a URL pattern using the given parameter values.