vue-router / _encodeParam
_encodeParam()
ts
function _encodeParam(text): string;Internal
Encode characters that need to be encoded on the path section of the URL as a param. This function encodes everything encodePath does plus the slash (/) character. If text is null or undefined, returns an empty string instead.
Parameters
text
string | number | null | undefined
string to encode
Returns
string
encoded string
Exposed for integrations (e.g. Nuxt). Not covered by semver.
