How to access parent page viewmodel from widget?
Summary:
The parent page has important attributes in it's root viewmodel. We need to access them from a widget.
Content (required):
The parent page has several values stored in it's $data viewmodel. How can we access them directly from a widget? There doesn't seem to be a widget.parent() or similar way to access the viewmodel via JS like one can using the display template.
Tagged:
0