* Get all parameter values from the current window URL. * * @example * // at URL https://tighten.ziggy.dev/posts/4?lang=en with 'posts.show' route 'posts/{post}' and domain '{team}.ziggy.dev' * route().params; // { team: 'tighten', post: 4, lang: 'en' } * * @return {Obj
()
| 203 | * @return {Object} |
| 204 | */ |
| 205 | get params() { |
| 206 | const { params, query } = this._unresolve(); |
| 207 | |
| 208 | return { ...params, ...query }; |
| 209 | } |
| 210 | |
| 211 | get routeParams() { |
| 212 | return this._unresolve().params; |
nothing calls this directly
no test coverage detected