On this page
DefaultUrlSerializer
class  final 
A default implementation of the UrlSerializer.
class DefaultUrlSerializer implements UrlSerializer {
  parse(url: string): UrlTree
  serialize(tree: UrlTree): string
}
   Description
Example URLs:
/inbox/33(popup:compose)
/inbox/33;open=true/messages/44
   DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to specify route specific parameters.
Methods
| 
         
         parse()
          | 
      
|---|
Parses a url into a   | 
      
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v14.angular.io/api/router/DefaultUrlSerializer