Musson Industrial's Embr-Periscope Module

Release Notice

Patch Changes

  • 8dab726: Add the following component events: onMount, onUnmount, onVisible, onHidden, onPageVisible, and onPageHidden.
  • 8dab726: Add a new JavaScript component action, which directly runs JavaScript on the client without a round trip to the Gateway.

Embr v8.1 - 2026.10.6
Embr v8.3 - 2026.10.6

This update adds the following:

  1. New Component events: onMount, onUnmount, onVisible, onHidden, onPageVisible, and onPageHidden. These events do what you'd expect.

  1. A JavaScript event action. This client-scoped action runs directly in the client, without any Gateway interaction. The execution context is exactly the same as the existing system.perspective.runJavaScript... functions. The same this, periscope, and perspective globals are available for use, and has JavaScript syntax highlighting.


Individually these features are kinda meh, but together some really cool things become possible.

(Sneaky peaky :wink:)

Also, thank you @drojas and Automation Station for the sponsorship!!

13 Likes