Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • You need to be careful to declare the getData function exactly as here, i.e. with an arrow function (having no bindings to the 'this'). Declaring it as a method of the source page class did't work for me, as it was executed in the context of the target page class.
    – LoBo
    Commented Jan 24, 2019 at 16:41