@ValV If a View is to behave differently based on where it's opened I think the most robust solution is to pass that information into the view, either through the scope (preferred) or with a parameter. You could however find the parent of type
InternalWindow
if you really have to know that detail 🙂