-1

I want to get the URL # value after editing the URL link and press keyboard Enter button. (Environment:- Meteor, Blaze, FowRouter).

from http://localhost:3000/api/information#feedback to http://localhost:3000/api/information#reviews

pneumatics
  • 2,836
  • 1
  • 27
  • 27

1 Answers1

0

I'm certain you can get the hash from flow router for the url. Although Flow-Router might not give it straight to you, you could parse the url for it.

You could access it in Meteor.startup() for instance.

Meteor.startup(function () {
    console.log(FlowRouter.current());
});
robertdavid
  • 393
  • 4
  • 15