Skip to content

Also pass tokens to setTitle #64

Open
@vihai

Description

@vihai

Hello,

It could be quite useful to have access to the whole list of token in the router's setTitle method in order to make them accessible to a template, in order to output a structured breadcrumb.

      // Stubbable fn that sets document.title
-      this.router.setTitle(finalTitle);
+      this.router.setTitle(finalTitle, tokens);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions