Yes this is possible. You will need to use Wix-Storage .
How would it work?
- Generating an Object which will hold all needed data to control your element from PAGE-A, on PAGE-B…
import {local} from 'wix-storage';
let data = {
element: "elementIDhere",
command: "show",
}
local.setItem("key1", data);
On PAGE-B you get the data and use it…
import {local} from 'wix-storage';
let data = JSON.parse(local.getItem("key1")); console.log(data);
$w.onReady(()=>{$w(`#${data.element}`)[data.command]();});